@Override
	public void update(GameContainer gc, double delta) throws SlickException {
		
		AdvGraphics g = Client.getClient().getGC();
		Input in = gc.getInput();
		
		double turnspeed = 1.5;
		
		if (in.isKeyDown(Input.KEY_UP)) {
			// Accelerate
		}
		if (in.isKeyDown(Input.KEY_DOWN)) {
			// De-Accelerate
		}
		
		if (in.isKeyDown(Input.KEY_LEFT)) {
			// Turn left
			((RotatableLocation) Self.getInstance().getLocation()).rotate(-turnspeed*delta);
		}
		if (in.isKeyDown(Input.KEY_RIGHT)) {
			// Turn right
			((RotatableLocation) Self.getInstance().getLocation()).rotate(turnspeed*delta);
		}
		
		if (in.isMousePressed(3)) {
			g.scale(-1);
		}
		if (in.isMousePressed(4)) {
			g.scale(1);
		}
		if (in.isMousePressed(2)) {
			g.setScale(1);
		}
		
		int mwheel = Mouse.getDWheel();
		if (mwheel != 0) {
			if (mwheel > 0)
				g.scale(.1f);
			else {
				g.scale(-.1f);
			}
		}
		
		Network.parsePackets();
		
	}