120121122123124125126127128129130
{ // 1) add it to the list thisView.visibleAgents.add(otherEntity); // 2) trigger a OnCanSee event trigger(new CanSeeEvent(thisEntity, otherEntity)); } } // if this entity cannot see the other one: else {