Hi there,
i found this:
for an atWorldEdge() method, now i want to make it count earlier, like 15-20 pixels before the edge, which of the given numbers do i have to change, in order to get a greater distance? its kinda confusing..
public boolean atWorldEdge() { if (getX() <= 5 || getX() >= getWorld() . getWidth() -5) return true; if (getY() <= 5 || getY() >= getWorld() . getHeight() -5) return true; else return false; }