first of many...
This commit is contained in:
parent
3b939ae37e
commit
1ef94e22df
1 changed files with 2 additions and 1 deletions
|
@ -8,11 +8,12 @@ const defaulthealth=10;
|
|||
|
||||
class Player
|
||||
{
|
||||
constructor (id,x,y,name,dir)
|
||||
constructor (id,x,y,z,name,dir)
|
||||
{
|
||||
this.name=name;
|
||||
this.x=x;
|
||||
this.y=y;
|
||||
this.z=z;
|
||||
//this.z=z;//correspond to the map. Ex: 0=>main; 1=>arena
|
||||
this.id=id;
|
||||
this.visibleDir=1;
|
||||
|
|
Loading…
Reference in a new issue