add fixture autofire
This commit is contained in:
parent
d9e8e217c6
commit
8e0c4b02e4
9 changed files with 40 additions and 8 deletions
|
@ -8,7 +8,7 @@ class Blaster extends Fixture {
|
|||
super(mount, data);
|
||||
}
|
||||
|
||||
fire() {
|
||||
fireType() {
|
||||
this.body.world.spawner.spawnLaser(this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue