reorder and rename hardpoints and particles
This commit is contained in:
parent
d302bd4149
commit
ea533015ba
16 changed files with 65 additions and 64 deletions
16
server/game/room/world/body/hardpoint/blaster.js
Normal file
16
server/game/room/world/body/hardpoint/blaster.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
const Fixture = require('./fixture.js');
|
||||
const Laser = require('../../particle/laser.js');
|
||||
|
||||
class Blaster extends Fixture {
|
||||
constructor(mount, data) {
|
||||
super(mount, data);
|
||||
}
|
||||
|
||||
fireType() {
|
||||
this.body.world.spawner.spawnLaser(this);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Blaster;
|
Loading…
Add table
Add a link
Reference in a new issue