Ejemplo n.º 1
0
 public void Flag(int mouse_x, int mouse_y)
 {
     if (GameBoard.ClickWithinGame(mouse_x, mouse_y))
     {
         Tile tile = GameBoard.TileFromCoordinates(mouse_x, mouse_y);
         if (!tile.Revealed)
         {
             tile.Flagged = !tile.Flagged;
         }
     }
 }