Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualDennisvb

Posted 01 March 2013 - 02:45 PM

Hello,

I want to have my Init, Update, Draw and CleanUp functions all in different source files, so when the game gets larger I don't end up with long compiling times. Do I need to put every function in a different class, or do I create a class called for example Game and define the functions in different source files like this: Game::Init() etc.?
Thanks,
Have a nice day!

#1Dennisvb

Posted 01 March 2013 - 02:44 PM

Hello,

I want to have my Init, Update, Draw and CleanUp functions all in different source files, so when the game gets larger I don't end up with long compiling times. Do I need to put every function in a different class, or do I create a class called for example Game and define the functions in different source files like this: Game.Init() etc.?
Thanks,
Have a nice day!

PARTNERS