Changed GameProperties into a class with methods.