private void buttonPressed(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.P) { startSound.Stop(); DisplayGameStartScreen(); gameRunning = true; } else { manager.handlebuttonPressed(e.KeyCode); } }
private void buttonPressed(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.P) { startSound.Stop(); DisplayGameStartScreen(); gameRunning = true; } else { manager.handlebuttonPressed(e.KeyCode); } }