@Override
	public void init(GameContainer gc, StateBasedGame sbg) throws SlickException {
		lastMouse = new Vector2f(0,0);
		cam = new Camera(Settings.ORIGIN, map.getCameraOffset(), map,p);
		try {
			gui = new Gui(rm, cam.getCycle(), p, rm.getLog());
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	}