public void update(GameContainer gcan, StateBasedGame state, int delta) throws SlickException
	{
		mx = Mouse.getX();
		my = 720 - Mouse.getY();
		
		Point t = mouseToIso();
		isox = (int) t.getY();
		isoy = (int) t.getX();
		
		a.update();
		b.update();
		c.update();
		d.update();
		
		if(a.activated())
		{
			SessionSettings.ingame = false;
			state.enterState(0, new FadeOutTransition(Color.black, 250), new FadeInTransition(Color.black, 250));
		}
		
		if(d.activated())
		{
			state.enterState(3, new FadeOutTransition(Color.black, 250), new FadeInTransition(Color.black, 250));
		}
		
		if(i.isKeyDown(i.KEY_A))
			rtx += camerapancoefficient;
		if(i.isKeyDown(i.KEY_D))
			rtx -= camerapancoefficient;
		if(i.isKeyDown(i.KEY_W))
			rty += camerapancoefficient;
		if(i.isKeyDown(i.KEY_S))
			rty -= camerapancoefficient;
	}