Java 类org.newdawn.slick.Game 实例源码

项目:trashjam2017    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:Progetto-C    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:BaseClient    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:Gorillaz    文件:StateBasedGame.java   
/**
 * @see org.newdawn.slick.Game#closeRequested()
 */
public boolean closeRequested() {

    // To run Cleanup at window close
    de.tu_darmstadt.gdi1.gorillas.main.Game.cleanupOnExit();

    return true;
}
项目:GPVM    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:GPVM    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:SpaceStationAlpha    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:cretion    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the gui
 * @param height The height of the gui
 * @param fullscreen True if the gui should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:slick2d-maven    文件:Bootstrap.java   
/**
 * Start the game as an application
 * 
 * @param game The game to be started
 * @param width The width of the window
 * @param height The height of the window
 * @param fullscreen True if the window should be fullscreen
 */
public static void runAsApplication(Game game, int width, int height, boolean fullscreen) {
    try {
        AppGameContainer container = new AppGameContainer(game, width, height, fullscreen);
        container.start();
    } catch (Exception e) {
        e.printStackTrace();
    }
}
项目:Gorillaz    文件:TWLTestAppGameContainer.java   
public TWLTestAppGameContainer(Game game) throws SlickException {
    super(game, 640, 480, false);
}
项目:Gorillaz    文件:TWLTestAppGameContainer.java   
public TWLTestAppGameContainer(Game game, int width, int height, boolean fullscreen) throws SlickException {
    super(game, width, height, fullscreen);
}
项目:opsu    文件:Container.java   
/**
 * Create a new container wrapping a game
 *
 * @param game The game to be wrapped
 * @throws SlickException Indicates a failure to initialise the display
 */
public Container(Game game) throws SlickException {
    super(game);
}
项目:opsu    文件:Container.java   
/**
 * Create a new container wrapping a game
 *
 * @param game The game to be wrapped
 * @param width The width of the display required
 * @param height The height of the display required
 * @param fullscreen True if we want fullscreen mode
 * @throws SlickException Indicates a failure to initialise the display
 */
public Container(Game game, int width, int height, boolean fullscreen) throws SlickException {
    super(game, width, height, fullscreen);
}