Class Casino

java.lang.Object
com.badlogic.gdx.ApplicationAdapter
com.shr4pnel.casino.Casino
All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener

public class Casino extends com.badlogic.gdx.ApplicationAdapter
Application entry point ApplicationListener implementation shared by all platforms.
Since:
0.1.0
  • Constructor Details

    • Casino

      public Casino()
  • Method Details

    • create

      public void create()
      Specified by:
      create in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      create in class com.badlogic.gdx.ApplicationAdapter
    • render

      public void render()
      Specified by:
      render in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      render in class com.badlogic.gdx.ApplicationAdapter
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      dispose in class com.badlogic.gdx.ApplicationAdapter
    • resize

      public void resize(int width, int height)
      Specified by:
      resize in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      resize in class com.badlogic.gdx.ApplicationAdapter
    • getActiveConsole

      public static ConsoleManager getActiveConsole()
    • getInstance

      public static Casino getInstance()
      Get the casino as an object, useful for getting important info about active states
      Returns:
      The running instance of casino
    • getGameInstance

      public ManagedButtonGame getGameInstance(SceneManager.Scene s)
      Get the instance of a game (stored in sceneInstanceMap)
      Parameters:
      s - The scene to get
      Returns:
      The scene, as a ManagedButtonGame
    • getSceneInstance

      public ManagedButtonScene getSceneInstance(SceneManager.Scene s)
      Get the instance of a scene (stored in sceneInstanceMap)
      Parameters:
      s - The scene to get
      Returns:
      The scene, as a ManagedButtonScene
    • getTextureManagerInstance

      public TextureManager getTextureManagerInstance()
      Returns:
      The active texture manager