public void KeyboardInput(Keys keyPressed) { //Sending keyboard input to the current state currentState.KeyboardInput(keyPressed); }