cGame class with virtual functions?

Started by
0 comments, last by Neen10do 20 years, 11 months ago
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!
----------------------i code therefore i am.Aero DX - Coming to a bored Monitor near you!
Advertisement
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.

This topic is closed to new replies.

Advertisement