League Invaders Pt. 13
Resetting the Game
1. In the GamePanel class, go to the keyPressed method. Inside the if-statement that checks for the ENTER key press, create another if-statment that checks if the current state is equal to END_STATE.
2. Inside that if-statement, set your Rocketship equal to a new Rocketship object.
3. Set the object manager to a new ObjectManager and pass in the rocketship object.
4. Run your game. Does it reset after a Game Over?