Load the ship style from data into the actual class

This commit is contained in:
Oliver Akins 2022-03-12 22:06:27 -06:00
parent 5a9dfbb864
commit d9a96f2061
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -11,6 +11,8 @@ export class Player {
constructor(socket: Socket, data: PlayerData) {
this.name = data.name;
this._socket = socket
this.ship = data.ship;
this.colour = data.colour;
};