How Do I Get The Actor To Disappear on the Y Axis
http://www.imageupload.co.uk/images/2014/11/09/3.png
This Is What Ive Got
public void act() { int ypos = getY() - 5; int xpos = getX(); setLocation(xpos, ypos); if (ypos == getWorld().getHeight()){ setLocation(getX(), getY() -300); } else { setLocation(getX(), ypos); } } public void MoveAlongY(){ } }