public class StartScreenController
extends java.lang.Object
implements de.lessvoid.nifty.screen.ScreenController
Constructor and Description |
---|
StartScreenController(Application app)
Instantiate a ScreenController for the specified Application.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(de.lessvoid.nifty.Nifty nifty,
de.lessvoid.nifty.screen.Screen screen)
Nifty invokes this method when the screen gets enabled for the first
time.
|
void |
onEndScreen()
Nifty invokes this method each time the screen shuts down.
|
void |
onStartScreen()
Nifty invokes this method each time the screen starts up.
|
void |
quit()
Stop the Application.
|
public StartScreenController(Application app)
app
- the Applicationpublic void bind(de.lessvoid.nifty.Nifty nifty, de.lessvoid.nifty.screen.Screen screen)
bind
in interface de.lessvoid.nifty.screen.ScreenController
nifty
- (not null)screen
- (not null)public void onStartScreen()
onStartScreen
in interface de.lessvoid.nifty.screen.ScreenController
public void onEndScreen()
onEndScreen
in interface de.lessvoid.nifty.screen.ScreenController
public void quit()