clean client code

This commit is contained in:
Asraelite 2016-03-24 13:26:35 +00:00
parent f3619ba891
commit 21a30ad212
18 changed files with 294 additions and 268 deletions

View file

@ -1,5 +1,7 @@
function Player(own, name, ship) {
this.name = name;
this.ship = ship;
this.own = own;
class Player {
constructor(name, team, ship) {
this.name = name;
this.team = team;
this.ship = ship;
}
}