}
}
}
try{
AppGameContainer app = new AppGameContainer(new VisualBurglar());
VisualBurglar.FLAG_REPLAN_ON_NEW_KNOWLEDGE = replanOnKnowledge;
app.setDisplayMode(width, height, fullScreen);
app.setShowFPS(showFrameRate);
// render even when invisible
app.setAlwaysRender(true);
// synchronize the rendering cycles with the monitor's frame rate
app.setVSync(true);
// start the main loop:
app.start();
}catch(SlickException e){
e.printStackTrace();
}
}