add basic missiles

This commit is contained in:
Asraelite 2016-03-24 18:42:11 +00:00
parent 21a30ad212
commit ac089f3e8e
19 changed files with 215 additions and 85 deletions

View file

@ -8,9 +8,10 @@ class Asteroid extends Body {
this.x = pos.x;
this.y = pos.y;
this.type = 'asteroid';
this.size = size;
this.type = 'asteroid';
this.frame = this.randomFrame();
}