- turned gameloop into a class, in the hope to reduce some global variables in the...