The HelpScreenClass(es)
Next, let's implement the HelpScreen
, HighscoreScreen
, and GameScreen
classes we used previously in the update()
method.
We defined three help screens in Chapter 3, each more or less explaining one aspect of the game play. We now directly translate those to Screen
implementations called HelpScreen
, HelpScreen2
, and HelpScreen3
. They all have a single button that will initiate a screen transition. The HelpScreen3
screen will transition back to the MainMenuScreen
. Figure 6–3 shows the three help screens with the drawing coordinates and touch areas.
Get Beginning Android 4 Games Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.