improve multiplayer

This commit is contained in:
Asraelite 2016-03-22 19:20:50 +00:00
parent 0aa259b874
commit 2fffe574c1
10 changed files with 76 additions and 19 deletions

View file

@ -47,6 +47,12 @@ class Ship extends Body {
if (data.right) {
this.applyTorque(this.power.rotation);
}
this.thrust = {
forward: data.forward,
left: data.left,
right: data.right
};
}
packTypeDelta() {