Adding the player
The player's star fighter is a small, three frame animation that the player will control with either the keyboard or the gamepad:
As with both asteroids and shots, we will create a manager class for the player. The PlayerManager will be responsible for handling player input, firing shots, and limiting the player to a pre-defined area on the screen.