public void checkForNeighbour(){ List<Platform> pf = getWorld().getObjects(Platform.class); for (Platform p: pf){ System.out.println("List item: " + p); } }
public void checkForNeighbour(){ List<Platform> pf = getWorld().getObjects(Platform.class); for (Platform p: pf){ System.out.println("List item: " + p); } }