Added an enum for the player's state to the PlayerControl class