add boilerplate for mounts and fixtures

This commit is contained in:
Asraelite 2016-03-27 15:08:49 +01:00
parent 0ea163dfb7
commit 0a90b6b77a
15 changed files with 158 additions and 17 deletions

View file

@ -124,7 +124,7 @@ class World {
}
removeBody(body) {
this.physics.remove(body);
body.destruct();
this.bodies.delete(body);
this.ships.delete(body);
this.structures.delete(body);