package raiding.main;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;
import raiding.state.PlayState;
public class Start extends StateBasedGame {
public static final int PLAYSTATE = 0;
public Start() {
super("Mult");
}
public static void main(String[] args) throws SlickException {
AppGameContainer app = new AppGameContainer(new Start());
app.setDisplayMode(760, 600, false);
app.setAlwaysRender(true);
app.setTargetFrameRate(100);
//app.setVSync(true);
app.start();
}
@Override
public void initStatesList(GameContainer gameContainer) throws SlickException {
this.addState(new PlayState(PLAYSTATE));
}
}