Class PiazzaPanic

java.lang.Object
com.badlogic.gdx.Game
com.devcharles.piazzapanic.PiazzaPanic
All Implemented Interfaces:
com.badlogic.gdx.ApplicationListener

public class PiazzaPanic extends com.badlogic.gdx.Game
This class wraps the spritebatch.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.graphics.g2d.SpriteBatch
     
    final float
     

    Fields inherited from class com.badlogic.gdx.Game

    screen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the Application is first created.
    void
    Called when the Application is destroyed.
    void
    Called when the Application should render itself.

    Methods inherited from class com.badlogic.gdx.Game

    getScreen, pause, resize, resume, setScreen

    Methods inherited from class java.lang.Object

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

    • VIRTUAL_HEIGHT

      public final float VIRTUAL_HEIGHT
      See Also:
    • batch

      public com.badlogic.gdx.graphics.g2d.SpriteBatch batch
  • Constructor Details

    • PiazzaPanic

      public PiazzaPanic()
  • Method Details

    • create

      public void create()
      Description copied from interface: com.badlogic.gdx.ApplicationListener
      Called when the Application is first created.
    • render

      public void render()
      Description copied from interface: com.badlogic.gdx.ApplicationListener
      Called when the Application should render itself.
      Specified by:
      render in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      render in class com.badlogic.gdx.Game
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.ApplicationListener
      Called when the Application is destroyed. Preceded by a call to ApplicationListener.pause().
      Specified by:
      dispose in interface com.badlogic.gdx.ApplicationListener
      Overrides:
      dispose in class com.badlogic.gdx.Game