Code with several draw loops - structure?
Monkey Programming Forums/Monkey Programming/Code with several draw loops - structure?
| ||
| what's to stop tFrontEnd, tGame and tWinScreen extending a base type called something like tScreen, and then the app has a pointer to the current screen object? Then OnUpdate would call currentScreen.Play, and OnRender would call currentScreen.Draw. That's probably what diddy does, though I haven't looked. |







