Class CharacterSelectScreen

java.lang.Object
io.github.team6ENG.EscapeUni.CharacterSelectScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen, com.badlogic.gdx.utils.Disposable

public class CharacterSelectScreen extends Object implements com.badlogic.gdx.Screen
Represents character select screen
  • Constructor Details

    • CharacterSelectScreen

      public CharacterSelectScreen(Main game)
      Initialises scene
      Parameters:
      game - instance of Main
  • Method Details

    • show

      public void show()
      Description copied from interface: com.badlogic.gdx.Screen
      Called when this screen becomes the current screen for a Game.
      Specified by:
      show in interface com.badlogic.gdx.Screen
    • render

      public void render(float delta)
      Render screen
      Specified by:
      render in interface com.badlogic.gdx.Screen
      Parameters:
      delta - The time in seconds since the last render.
    • resize

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

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

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

      public void hide()
      Description copied from interface: com.badlogic.gdx.Screen
      Called when this screen is no longer the current screen for a Game.
      Specified by:
      hide in interface com.badlogic.gdx.Screen
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.Screen
      Called when this screen should release all resources.
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
      Specified by:
      dispose in interface com.badlogic.gdx.Screen