animate() and render() encapsulated in Game object