Created
November 27, 2016 18:27
-
-
Save djlc/f6e0717d82214fae609cc151945c060d to your computer and use it in GitHub Desktop.
Slick2D Sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package base; | |
import org.newdawn.slick.AppGameContainer; | |
import org.newdawn.slick.BasicGame; | |
import org.newdawn.slick.GameContainer; | |
import org.newdawn.slick.Graphics; | |
import org.newdawn.slick.SlickException; | |
public class Main extends BasicGame { | |
public Main(String title) { | |
super(title); | |
} | |
@Override | |
public void render(GameContainer arg0, Graphics arg1) throws SlickException { | |
} | |
@Override | |
public void init(GameContainer arg0) throws SlickException { | |
} | |
@Override | |
public void update(GameContainer arg0, int arg1) throws SlickException { | |
} | |
public static void main(String[] args) throws SlickException { | |
AppGameContainer app = new AppGameContainer(new Main("test")); | |
app.setDisplayMode(800, 600, false); | |
app.start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment