add asteroids
This commit is contained in:
parent
0ceea5f4af
commit
0aa259b874
17 changed files with 246 additions and 37 deletions
|
@ -25,8 +25,8 @@ class Player {
|
|||
});
|
||||
}
|
||||
|
||||
sendWorld() {
|
||||
this.connection.send('world', this.ship.id);
|
||||
sendWorld(data) {
|
||||
this.connection.send('world', data);
|
||||
}
|
||||
|
||||
sendUpdate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue