Class InstructionsScreen

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

public class InstructionsScreen extends Object implements com.badlogic.gdx.Screen
Instructions Screen, displays before game starts
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initialise the instructions screen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when this screen should release all resources.
    void
    Called when this screen is no longer the current screen for a Game.
    void
     
    void
    render(float delta)
    Called when the screen should render itself.
    void
    resize(int width, int height)
     
    void
     
    void
    Called when this screen becomes the current screen for a Game.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InstructionsScreen

      public InstructionsScreen(Main game)
      Initialise the instructions screen
      Parameters:
      game - current instance of game
  • 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)
      Description copied from interface: com.badlogic.gdx.Screen
      Called when the screen should render itself.
      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