How would I make it so that a world 1000x1000 adds a tree everywhere but within 60px of another actor
for (int x = 0; x < getWidth(); x+=60)
for (int y = 0; y < getHeight(); y+=60)
addObject(new Tree(), x, y);public void addedToWorld(World w)
{
w.removeObjects(getObjectsInRange(60, Tree.class));
}