public void init(boolean exitOnClose) {
KieContainer kc = KieServices.Factory.get().getKieClasspathContainer();
final KieSession ksession = kc.newKieSession( "Invaders1KS");
GameConfiguration cong = new GameConfiguration();
cong.setExitOnClose(exitOnClose);
GameUI ui = new GameUI(ksession, cong);
ui.init();
runKSession(ksession);