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