Adds getters and setters for game object type