Package tripleplay.game
Class ScreenSpace.UIScreen
java.lang.Object
tripleplay.game.ScreenSpace.Screen
tripleplay.game.ScreenSpace.UIScreen
- Enclosing class:
ScreenSpace
A
ScreenSpace.Screen
that takes care of basic UI setup for you.-
Field Summary
Fields inherited from class tripleplay.game.ScreenSpace.Screen
layer, paint, update
-
Method Summary
Methods inherited from class tripleplay.game.ScreenSpace.Screen
awake, canUntrans, closeOnSleep, dispose, gainedFocus, init, lostFocus, size, sizeValue, toString, transiting
-
Field Details
-
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 classScreenSpace.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 classScreenSpace.Screen
-