Пример #1
0
 private void LeftMouseClick(Tile clicked)
 {
     if (!clicked.GetIsFlagged() && !clicked.GetIsQuestionMark())
     {
         if (clicked.GetNumber() == -1)
         {
             Lose();
         }
         else
         {
             if (clicked.GetNumber() != 0)
             {
                 clicked.Uncover();
             }
             else
             {
                 UncoverAround(clicked);
             }
         }
     }
 }