add basic ship movement and tracking
This commit is contained in:
parent
fcfe1e8790
commit
05ad81ed8d
10 changed files with 65 additions and 27 deletions
|
@ -20,6 +20,7 @@ class Room {
|
|||
this.players.add(player);
|
||||
this.setTeam(player, this.teamA.size > this.teamB.size ? 'b' : 'a');
|
||||
this.world.addPlayer(player);
|
||||
player.sendWorld();
|
||||
}
|
||||
|
||||
remove(player) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue