Package com.calebleavell.textinterface
Class TextApplication
java.lang.Object
com.calebleavell.textinterface.scenes.GenericScene
com.calebleavell.textinterface.TextApplication
TextApplication Class
The house of all scenes in an application
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.calebleavell.textinterface.scenes.GenericScene
MAX_ITERATIONS_ON_TOSTRING
-
Constructor Summary
ConstructorsConstructorDescriptionTextApplication
(TextApplication.Builder builder) Return a new TextApplication based on builder fields -
Method Summary
Methods inherited from class com.calebleavell.textinterface.scenes.GenericScene
addChild, executeFunctions, getChild, getChild, getChild, getChild, getChildren, getFunctions, getID, getName, isTerminated, run, runChildren, setChildren, setName, terminate, toString, toString
-
Constructor Details
-
TextApplication
Return a new TextApplication based on builder fields- Parameters:
builder
- The builder
-
-
Method Details
-
getHome
Getter for home- Returns:
- The first scene to run
-
setHome
Setter for home- Parameters:
home
- The first scene to run
-