Class GameScreen

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

    public class GameScreen
    extends java.lang.Object
    implements com.badlogic.gdx.Screen
    The screen which can be used to load the tilemap and keep track of everything happening in the game. It does all the initialization and then lets each actor do its actions based on the current frame.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      void hide()  
      void pause()  
      void render​(float delta)  
      void resize​(int width, int height)  
      void resume()  
      void show()  
      • Methods inherited from class java.lang.Object

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

      • 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