first of many...
這個提交存在於:
父節點
3b939ae37e
當前提交
1ef94e22df
共有 1 個檔案被更改,包括 2 行新增 和 1 行删除
|
@ -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;
|
||||
|
|
載入中…
新增問題並參考