I'm confusingconfused on how the game's methods are called and when.
So I read that the sequence is:
- Initialize
- LoadContent
- Update
- Draw
- UnloadContent
whereWhere 3 and 4 are the GAME LOOPgame loop, so after the UpdateUpdate is called, DrawDraw is called, then UpdateUpdate, then DrawDraw, and so on. The GAME LOOPgame loop (Update and Draw) is executed 60 times per second.
Then I read in another place that UpdateUpdate and DrawDraw can be invoked at different times and UpdateUpdate may be called more then one time before DrawDraw and so on.
... and at the end UnloadContentUnloadContent is invoked after the UpdateUpdate if the ExitExit method is called.
So I'm confused.... Any help is very appreciated!