Archived

This topic is now archived and is closed to further replies.

Neen10do

cGame class with virtual functions?

Recommended Posts

to encapsulate all of the game functions should i create a cGame class, with virtual functions and a derived class for functionality for my specific game? ---------------------- i code therefore i am. Aero DX - Coming to a bored Monitor near you!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
In java everything is derived from Object. (I guess your using C) unless you need to do this for some specific reason there''s not much reason to make it pure virtual and derive from it to make a specific game. That could be usefull if you want certain versions of you game to have different features though. OO purist would prob do that though.

Share this post


Link to post
Share on other sites