Load the ship style from data into the actual class
This commit is contained in:
parent
5a9dfbb864
commit
d9a96f2061
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue