SHARE
TWEET

Untitled

a guest Feb 21st, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public final class EmptyState extends State
  2. {
  3.     public EmptyState(final int stateID, final StateBasedGame sbg)
  4.     {
  5.         super(stateID, sbg);
  6.     }
  7.  
  8.     @Override
  9.     public void init(final GameContainer gc)
  10.     {
  11.         // init started from StateBasedGame create() Methode
  12.         Gdx.app.debug("hello", "test"; // NPE
  13.     }
  14.  
  15.     @Override
  16.     public void update(final GameContainer gc) {}
  17.  
  18.     @Override
  19.     public void render(final GameContainer gc)
  20.     {
  21.         pause(gc);
  22.         dispose(gc);
  23.         enterState(RingsOfElments.MENUE_STATE_ID);
  24.     }
  25.    
  26.     public void resize(final int width, final int height, final GameContainer gc) {}
  27.  
  28.     @Override
  29.     public void pause(final GameContainer gc) {}
  30.  
  31.     @Override
  32.     public void resume(final GameContainer gc) {}
  33.  
  34.     @Override
  35.     public void dispose(final GameContainer gc) {}
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top