[Disallowed URL]
public void act()
{
// Add your action code here.
move();
moveDown();
}
public void move()
{
Actor ball=getOneIntersectingObject(mover.class);
if(ball!=null)
{setLocation(getX(),getY()-1);
}
}
public void moveDown()
{ Actor ball=getOneIntersectingObject(block.class);
if(ball!=null)
{setLocation(getX(),getY()+1);
}
}