Class LoadingScreen

java.lang.Object
com.csse3200.game.screens.LoadingScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen

public class LoadingScreen extends Object implements com.badlogic.gdx.Screen
A simple loading screen that displays a background image and "Loading..." text. This screen is shown while the game initializes and loads assets.
  • Constructor Details

    • LoadingScreen

      public LoadingScreen(GdxGame game)
  • Method Details

    • show

      public void show()
      Specified by:
      show in interface com.badlogic.gdx.Screen
    • render

      public void render(float delta)
      Specified by:
      render in interface com.badlogic.gdx.Screen
    • resize

      public void resize(int width, int height)
      Specified by:
      resize in interface com.badlogic.gdx.Screen
    • pause

      public void pause()
      Specified by:
      pause in interface com.badlogic.gdx.Screen
    • resume

      public void resume()
      Specified by:
      resume in interface com.badlogic.gdx.Screen
    • hide

      public void hide()
      Specified by:
      hide in interface com.badlogic.gdx.Screen
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.Screen