Class GameOverScreen

  • All Implemented Interfaces:
    com.badlogic.gdx.Screen

    public final class GameOverScreen
    extends java.lang.Object
    implements com.badlogic.gdx.Screen
    • Constructor Summary

      Constructors 
      Constructor Description
      GameOverScreen​(Auber game, boolean win)
      Class constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()
      Method implemented from abstract superclass.
      void hide()
      Method implemented from abstract superclass.
      void pause()
      Method implemented from abstract superclass.
      void render​(float delta)
      Called every frame to render this screen.
      void resize​(int width, int height)
      Method implemented from abstract superclass.
      void resume()
      Method implemented from abstract superclass.
      void show()
      Method implemented from abstract superclass.
      • Methods inherited from class java.lang.Object

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

      • GameOverScreen

        public GameOverScreen​(Auber game,
                              boolean win)
        Class constructor.
        Parameters:
        game - The instance of the game that is running.
        win - Whether the player won or not.
    • Method Detail

      • show

        public void show()
        Method implemented from abstract superclass.
        Specified by:
        show in interface com.badlogic.gdx.Screen
      • render

        public void render​(float delta)
        Called every frame to render this screen.
        Specified by:
        render in interface com.badlogic.gdx.Screen
        Parameters:
        delta - The time in seconds between the previous frame and this one.
      • resize

        public void resize​(int width,
                           int height)
        Method implemented from abstract superclass.
        Specified by:
        resize in interface com.badlogic.gdx.Screen
      • pause

        public void pause()
        Method implemented from abstract superclass.
        Specified by:
        pause in interface com.badlogic.gdx.Screen
      • resume

        public void resume()
        Method implemented from abstract superclass.
        Specified by:
        resume in interface com.badlogic.gdx.Screen
      • hide

        public void hide()
        Method implemented from abstract superclass.
        Specified by:
        hide in interface com.badlogic.gdx.Screen
      • dispose

        public void dispose()
        Method implemented from abstract superclass.
        Specified by:
        dispose in interface com.badlogic.gdx.Screen