public UIOperation.gameState gameState; //游戏内状态(定缺中、选牌中) public void clear() { this.isShow = true; this.headIndex = 0; this.money = 0; this.name = ""; this.isZhuang = false; this.dingque = odao.scmahjong.TileDef.Kind.NONE; this.gameState = UIOperation.gameState.NONE; }
public void setDingqueInfo(int index, odao.scmahjong.TileDef.Kind dingque) { if (index < GameMessage.TABLE_PLAYER_NUM) { UIOperation.Instance._headDatas[index].dingque = dingque; } else { Debug.LogError("UIGameSetingController setDingqueInfo index cross:" + index); } }
public void setDingqueInfoAndRefresh(int index, odao.scmahjong.TileDef.Kind dingque) { setDingqueInfo(index, dingque); OnRefreshHeadDingqueState(); }