Switched over to enums for the gamestates to make it more readable