Class LevelController

java.lang.Object
com.example.project.controllers.gameScreens.GameScreenController
com.example.project.controllers.gameScreens.LevelController

public class LevelController extends GameScreenController
Controller for the level screen.
  • Constructor Details

    • LevelController

      public LevelController()
      Constructor only called once each time application opened.
  • Method Details

    • initialize

      public void initialize()
      This runs after the constructor and after all @FXML fields are initialized once each time application opened.
    • onSceneChangedToThis

      public void onSceneChangedToThis()
      Description copied from class: GameScreenController
      Called when the game scene is changed to one of the GameScenes Login, Level, Shop etc.
      Specified by:
      onSceneChangedToThis in class GameScreenController