I'm trying to make a game where if a horse detects there is an apple within 50 cells, then it will eat it. I tried to use the getObjectsInRange method, but it said I couldn't use it since the return type was a protected ArrayList. Is there another way to do this?
