add non-functioning explosions

I'm tired and box2d ray casting is stupid so this'll have to do for today
This commit is contained in:
Asraelite 2016-03-25 00:54:15 +00:00
parent ac089f3e8e
commit bf8226481d
7 changed files with 68 additions and 5 deletions

View file

@ -9,6 +9,9 @@ class Ship extends Body {
constructor(world, pos, player, build) {
super(world);
this.x = pos.x || 0;
this.y = pos.y || 0;
build = build || {};
this.class = build.ship || defaults.spawnShip.ship;
this.turrets = build.turrets || defaults.spawnShip.turrets;