add basic missiles
This commit is contained in:
parent
21a30ad212
commit
ac089f3e8e
19 changed files with 215 additions and 85 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue