first of many...

這個提交存在於:
Victor Lasserre 2023-12-11 14:50:20 +01:00
父節點 3b939ae37e
當前提交 1ef94e22df

查看文件

@ -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;