Hello,
what about a GameWindow class which stores GameObjects.
The GameWindow would draw only visible (inside the view) GameObjects.
It could be an alternative to AgateApplication which targets games instead of applications.
Also the GameObject could handle more than just a position in eg. a world.
For example physic/network related updates/variables....
Yeah, AgateGame is a better
Yeah, AgateGame is a better name and your right about the customization on the client side.
Maybe a solution would be to use interfaces or abstract classes for GameObjects.
GameWindow really is what
GameWindow really is what AgateApplication is. It would probably be better to rename that to AgateGame. I've thought about implementing a scene graph like that, but it always seems like such a thing would need to be extensively customized by the client application, so it doesn't seem all that useful. But maybe I am wrong...