public void update(float delta){
		Player player = level.getPlayer();
		if(moving){
			//me muevo en X
			int bearing = 1;
			if(player.getX() > targetX){
				bearing = -1;
			}
			if(player.getX() != targetX){
				player.setX(player.getX() + bearing * player.getSpeed() * delta);
				//reviso si ya lleg
				if((player.getX() < targetX && bearing == -1) || (player.getX() > targetX && bearing == 1))
					player.setX(targetX);
			}
			//me muevo en Y
			bearing = 1;
			if(player.getY() > targetY){
				bearing = -1;
			}
			if(player.getY() != targetY){
				player.setY(player.getY() + bearing * player.getSpeed() * delta);
				//reviso si ya lleg
				if((player.getY() < targetY && bearing == -1) || (player.getY() > targetY && bearing == 1))
					player.setY(targetY);
			}
			//reviso si ya lleg a su destino
			if(player.getX() == targetX && player.getY() == targetY)
				moving = false;
		}
	}