示例#1
0
 public TileArrayObject(int row, int col)
 {
     this.row = row;
     this.col = col;
     if ((row + col) % 2 == 0)
     {
         this.tileArrayType = TileArrayType.Even;
     }
     else
     {
         this.tileArrayType = TileArrayType.Odd;
     }
     flagged  = false;
     revealed = false;
 }
示例#2
0
 // Change tile type
 public void SetTileArrayType(TileArrayType tileArrayType)
 {
     this.tileArrayType = tileArrayType;
 }