Jump to content
  • Advertisement
Sign in to follow this  
jwein

Window: better in Engine Framework or in Game Classes ?

This topic is 3762 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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!