• Advertisement
Sign in to follow this  

Window: better in Engine Framework or in Game Classes ?

This topic is 3675 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I would like to know: is better to add an Instance of the Window Class in the Engine Device Class or in the Game Classes ? Is it part of the Game ? Couldn't be complex to integrate it with the renderer if the window is set in the Game Classes ? I'd like to read your opinion. Thanks, Bye!

Share this post


Link to post
Share on other sites
Advertisement
The window isn't part of the game, but it's also not an integeral part of the renderer. It almost certainly does err on the engine side of things though.

Share this post


Link to post
Share on other sites
I would think most games stick the windowing stuff in the Engine Framework, since most games don't need to deal with a window very much and it's better off abstracted out.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement