How can I get's my actor move along X axis from both side of the world (Left and Right)? Need Answer A.S.A.P please...
move(speed); // you would have move(direction*speed);
public void addedToWorld(World world)
{
if (getX() > world.getWidth()/2) direction = -1; else direction = 1;
}