Пример #1
0
 private void gameCanvas_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
 {
     int[] cords = getBoxCords(sender, e);
     if (MsGame.isPlaying())
     {
         MsGame.FlagToggle(cords[0], cords[1]);
         RefreshCanvas();
         CheckGameStatus();
     }
 }