How do I call a certain type of actor with a list function? I need both the type and the locations of the 8 surrounding squares to the square that I am checking for, so that I can get my actor to decide its value.
for (Object obj : getNeighbours(getWorld().getCellSize(), Actor.class, true))
{
Actor actor = (Actor)obj;
// etc.