示例#1
0
 // Set a game-move
 public void Set(Point i_Pos, uint i_PlayerIndex)
 {
     r_Board.Set(i_Pos, r_Players.Get(i_PlayerIndex).GenereateCell());
     r_State.Set(i_Pos, i_PlayerIndex);
     updateIsGameOver(i_Pos);
 }
示例#2
0
 // Is input required for the next playing player
 public bool IsInputRequiredForCurrentTurn()
 {
     return(r_Players.Get(m_CurrPlayersTurn).IsInputRequiredForMove());
 }