We have have three game modes. Two of them,
gmGameOver, are modes where some kind of menu or text is displayed. The third mode,
gmPlay, is for rendering and updating the actual game play.
Selectstatement to the
Method OnUpdate:Int() Select gameMode
gmOver, we will call a new method
Case gmMenu, gmGameOver UpdateMenu()
gameModeis equal to
gmPlay, call another new method called
Case gmPlay UpdateGame()
UpdateMenu, we will also add an IF statement to act differently, depending ...