add start of gun support

This commit is contained in:
Asraelite 2016-03-22 23:46:55 +00:00
parent 444533ce85
commit 65f78ec3ac
19 changed files with 141 additions and 29 deletions

View file

@ -9,6 +9,14 @@ function Ship(data) {
this.rvel = data.delta[5];
this.hull = '01';
this.move = [];
this.mounts = data.mounts;
this.turrets = data.turrets;
this.frame = data.frame;
this.size = {
'small': 8,
'medium': 16,
'large': 24
}[data.size];
this.lastMove = [];
this.bodyType = 'ship';
this.com = {