Class GameScreen

java.lang.Object
com.devcharles.piazzapanic.GameScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen

public class GameScreen extends Object implements com.badlogic.gdx.Screen
  • Field Details

    • engine

      private com.badlogic.ashley.core.PooledEngine engine
    • kbInput

      private KeyboardInput kbInput
    • world

      private com.badlogic.gdx.physics.box2d.World world
    • camera

      private com.badlogic.gdx.graphics.OrthographicCamera camera
    • game

      private PiazzaPanic game
    • hud

      private Hud hud
    • multiplexer

      private com.badlogic.gdx.InputMultiplexer multiplexer
    • rayhandler

      private box2dLight.RayHandler rayhandler
    • mapLoader

      private MapLoader mapLoader
    • reputationPoints

      private Integer[] reputationPoints
  • Constructor Details

  • 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.Screen