Package main

Source Code of main.Main

package main;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.SlickException;
public class Main{
  public static void main(String[] args) throws SlickException{
    init();
  }
 
  public static void init() throws SlickException{
    System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL","true");
    AppGameContainer app = new AppGameContainer(new Game());
    app.setDisplayMode(800, 600, false);
    app.setShowFPS(false);
    app.start();
  }
}
TOP

Related Classes of main.Main

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.