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

@ -24,7 +24,9 @@ class Spawner {
let pos = {
x: ship.center.x + ox,
y: ship.center.y + oy,
r: r
r: r,
xvel: ship.vel.x,
yvel: ship.vel.y
};
let missile = new Missile(this.world, pos, ship);
this.world.addMissile(missile);