示例#1
0
 public void UpdateBoardCell(Coin.eCoinType i_CoinType, int i_CellRow, int i_CellColumn)
 {
     this.GetBoardCell(i_CellRow, i_CellColumn).CoinInCell = new Coin(i_CoinType);
 }
示例#2
0
 private void AddPlayer(string i_Name, Player.ePlayerType i_PlayerType, Coin.eCoinType i_CoinType)
 {
     this.m_Players.Add(new Player(i_Name, i_PlayerType, i_CoinType));
 }
示例#3
0
 private void UpdateFormBoardCell(int i_CellRow, int i_CellColumn, Coin.eCoinType? i_CellCoin)
 {
     if (i_CellCoin == Coin.eCoinType.X)
     {
         this.m_BoardCells[i_CellRow][i_CellColumn].Image = Properties.Resources.FullCellRed;
     }
     else
     {
         if (i_CellCoin == Coin.eCoinType.O)
         {
             this.m_BoardCells[i_CellRow][i_CellColumn].Image = Properties.Resources.FullCellYellow;
         }
         else
         {
             this.m_BoardCells[i_CellRow][i_CellColumn].Image = Properties.Resources.EmptyCell;
         }
     }
 }