package detectiongame.app;
import detectiongame.dungen.DunGen;
import detectiongame.proto.Proto;
public class App {
/**
* @param args
*/
public static void main(String[] args) {
DunGen game = null;
Proto proto = null;
boolean protoStart = false;
for(int i = 0; i < args.length; i++) {
if(args[i].equalsIgnoreCase("-proto")) {
protoStart = true;
proto = new Proto();
proto.DISPLAY_WIDTH = 1280;
proto.DISPLAY_HEIGHT = 800;
proto.start();
}
}
if(!protoStart) {
game = new DunGen();
game.DISPLAY_WIDTH = 1280;
game.DISPLAY_HEIGHT = 800;
game.start();
}
}
}