Esempio n. 1
0
 /// <summary>
 /// switch turn (black | white) to show speific shop info
 /// </summary>
 /// <param name="turn"></param>
 public void SwitchTurn(Unit.OwnerEnum turn, int turnNum)
 {
     m_hasbuy                       = false;
     m_turn                         = turn;
     PlayerBlack.IsMyTurn           = turn == Unit.OwnerEnum.Black;
     PlayerWhite.IsMyTurn           = turn != Unit.OwnerEnum.Black;
     NowPlayer.endTurn.Interactable = false;
     NowPlayer.cancel.Interactable  = false;
     status.SetTurn(turnNum);
 }