I currently have an actor which is invisible, and I want it to become visible if another actor comes within my set range of it. Though I cannot seem to figure out how to do so. Currently I have
And I do have imported already at the beginning of the class.
public void ifCrabInRange()
{
List<Crab> enemies = getObjectsInRange(50, Crab.class);
}import java.util.List;

