add setname client command

This commit is contained in:
Asraelite 2016-03-28 15:10:20 +01:00
parent 52e1673e3e
commit 1af386d9f5
10 changed files with 50 additions and 11 deletions

View file

@ -8,6 +8,7 @@ class Mount {
this.type = data.type || 'turret';
this.fixture = false;
this.size = data.size || 0;
this.position = {
x: data.pos[0],
y: data.pos[1]
@ -26,7 +27,8 @@ class Mount {
packFull() {
return {
x: this.position.x,
y: this.position.y
}
}
}