add asteroids

This commit is contained in:
Asraelite 2016-03-22 18:34:11 +00:00
parent 0ceea5f4af
commit 0aa259b874
17 changed files with 246 additions and 37 deletions

View file

@ -25,8 +25,8 @@ class Player {
});
}
sendWorld() {
this.connection.send('world', this.ship.id);
sendWorld(data) {
this.connection.send('world', data);
}
sendUpdate() {