Esempio n. 1
0
 private void OnCellStatusChanged(CellStateMessage message)
 {
     if (message.Cell.CachingState == CachingState.InUse &&
         GameState == GameState.Started)
     {
         cells.CalculateFlagsCount();
     }
 }
 private void OnCellStatusChanged(CellStateMessage message)
 {
     if (Settings.Default.PlayAnimation &&
         message.Cell.State == CellState.Shown &&
         Game.GameState == GameState.Started)
     {
         Thread.Sleep(1);
     }
 }