I have written this code to return all lamposts that are in range in the world.
However when a lamp post is in range I want to use one of its methods?
So I want to say
But I want to use that specific object that is within the range?
Not lamposts generally?
public boolean isLampPostInRange(){
return !getObjectsInRange(100, LampPosts.class).isEmpty();
} if(isLampPostInRange()){
if(LampPosts.getCode() == 0){
}
