add basic game classes
This commit is contained in:
parent
ebcee954bf
commit
bb9a493450
11 changed files with 137 additions and 6 deletions
13
server/game/room/world/ship.js
Normal file
13
server/game/room/world/ship.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
const Body = require('./body.js');
|
||||
|
||||
class Ship extends Body {
|
||||
constructor(player) {
|
||||
super();
|
||||
|
||||
this.player = player;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Ship;
|
Loading…
Add table
Add a link
Reference in a new issue