wingbase/server/game/room/world/body/projectile/projectile.js
2016-03-29 01:14:32 +01:00

29 lines
367 B
JavaScript

'use strict';
const Body = require('../body.js');
class Projectile extends Body {
constructor(world) {
super(world);
}
connect() {
}
packTypeDelta() {
return [];
}
packProjectileFull() {
return {};
}
packTypeFull() {
let packet = this.packProjectileFull();
packet.source = this.source.id;
return packet;
}
}
module.exports = Projectile;