예제 #1
0
 private void frmPacmanGame_Shown(object sender, EventArgs e)
 {
     samplePlayer.playBackground(1, false);
     if (game == null)
     {
         return;
     }
     game.Run();
 }
예제 #2
0
 private void frmPacmanGame_Shown(object sender, EventArgs e)
 {
     if (game == null)
     {
         return;
     }
     game.Run();
     game.State = GameState.GAMEPAUSE;
 }