Class ScreenSpace.UIScreen

java.lang.Object
tripleplay.game.ScreenSpace.Screen
tripleplay.game.ScreenSpace.UIScreen
Enclosing class:
ScreenSpace

public abstract static class ScreenSpace.UIScreen extends ScreenSpace.Screen
A ScreenSpace.Screen that takes care of basic UI setup for you.
  • Field Details

    • iface

      public final Interface iface
      Manages the main UI elements for this screen.
  • Method Details

    • wake

      public void wake()
      Description copied from class: ScreenSpace.Screen
      Called when this screen will potentially be shown. Should create main UI and prepare it for display.
      Overrides:
      wake in class ScreenSpace.Screen
    • sleep

      public void sleep()
      Description copied from class: ScreenSpace.Screen
      Called when this screen is no longer at risk of being seen by the user. This should dispose the UI and minimize the screen's memory footprint as much as possible.
      Overrides:
      sleep in class ScreenSpace.Screen