Path: blob/master/src/se/chalmers/projectBomberMan/StartBomberMan.java
1456 views
package se.chalmers.projectBomberMan;12import org.newdawn.slick.AppGameContainer;3import org.newdawn.slick.GameContainer;4import org.newdawn.slick.SlickException;5import org.newdawn.slick.state.StateBasedGame;67public class StartBomberMan extends StateBasedGame {89public static final int GAMEPLAYSTATE = 1;1011public StartBomberMan() {12super("BombSquad");13this.addState(new GamePlayState(GAMEPLAYSTATE));14this.enterState(GAMEPLAYSTATE);15// TODO Auto-generated constructor stub16}1718@Override19public void initStatesList(GameContainer container) throws SlickException {20this.getState(GAMEPLAYSTATE).init(container, this);21}2223public static void main(String[] args) throws SlickException {24AppGameContainer app = new AppGameContainer(new StartBomberMan());25app.setTitle("BombSquad");26app.start();27}2829}303132