Ejemplo n.º 1
0
 private void gameCanvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     int[] cords = getBoxCords(sender, e);
     if (MsGame.isPlaying())
     {
         MsGame.OpenBox(cords[0], cords[1]);
         RefreshCanvas();
         CheckGameStatus();
     }
 }