public void run(){
		
		AppGameContainer appgc;

		try {
			appgc = new AppGameContainer(new Game(gamename));
			
			appgc.setDisplayMode(width, height, fullscreen);
			appgc.setVSync(true);
			appgc.start();
		}catch(SlickException e){
			e.printStackTrace();
		}
	}