- shoot(velocityx, velocityy) {
- var projectile = new Justice(this.x, this.y, velocityx, velocityy);
- projectile.enablePhysics();
- this.projectiles.add(projectile);
+ shoot() {
+ this.weapon.fire(this, 0, this.y);
+ this.weapon.fire(this, this.x, 0);
+ this.weapon.fire(this, this.x, game.world.height);
+ this.weapon.fire(this, game.world.width, this.y);