protected void applyPlayerKnowledge(RobotController controller) { Player[] players = FindObjectsOfType<Player>(); foreach(Player player in players) { controller.addKnownLocation(player.GetComponent<Label>()); } }