Make AbstractGameObject fields protected; remove GameObject::render (don't need polymorphism here).