Class TextApplication

java.lang.Object
com.calebleavell.textinterface.scenes.GenericScene
com.calebleavell.textinterface.TextApplication
All Implemented Interfaces:
Function, Scene

public class TextApplication extends GenericScene

TextApplication Class

The house of all scenes in an application

  • Constructor Details

    • TextApplication

      public TextApplication(TextApplication.Builder builder)
      Return a new TextApplication based on builder fields
      Parameters:
      builder - The builder
  • Method Details

    • getHome

      public Scene getHome()
      Getter for home
      Returns:
      The first scene to run
    • setHome

      public void setHome(Scene home)
      Setter for home
      Parameters:
      home - The first scene to run