/// <summary> /// /// </summary> /// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks> /// <param name="neighbours"></param> /// <returns></returns> public virtual bool TriggerOnNeighboursUpdate(List <RegionInfo> neighbours) { handlerNeighboursUpdate = OnNeighboursUpdate; if (handlerNeighboursUpdate != null) { handlerNeighboursUpdate(neighbours); return(true); } return(false); }
/// <summary> /// /// </summary> /// <remarks>Added to avoid a unused compiler warning on OnNeighboursUpdate, TODO: Check me</remarks> /// <param name="neighbours"></param> /// <returns></returns> public virtual bool TriggerOnNeighboursUpdate(List<RegionInfo> neighbours) { handlerNeighboursUpdate = OnNeighboursUpdate; if (handlerNeighboursUpdate != null) { handlerNeighboursUpdate(neighbours); return true; } return false; }