Advertisement
staxx6

Untitled

Dec 9th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. package ger.staxx6.main;
  2.  
  3.  
  4. imports ...
  5.  
  6. public class GameplayState extends BasicGameState
  7. {
  8.     int stateID = -1;
  9.    
  10.     GameplayState (int stateID)
  11.     {
  12.         this.stateID = stateID;
  13.     }
  14.    
  15.     @Override
  16.     public int getID()
  17.     {
  18.         return stateID;
  19.     }
  20.  
  21.     public void init (GameContainer gc, StateBasedGame sbg) throws SlickException
  22.     {
  23.         System.out.println("test");
  24.     }
  25.  
  26.     public void render (GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException
  27.     {}
  28.    
  29.     public void update (GameContainer gc, StateBasedGame sbg, int delta) throws SlickException
  30.     {}
  31. }
  32.  
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement