public void AddRestrictor(IBlockRestrictor restrictor) { blockRestrictors.Add(restrictor); foreach (var observer in observers) { observer.RestrictorAdded(this, restrictor); } }
public void RemoveRestrictor(IBlockRestrictor restrictor) { blockRestrictors.Remove(restrictor); foreach (var observer in observers) { observer.RestrictorRemoved(this, restrictor); } }
public void RestrictorRemoved(IBlueprintBuilder blueprintBuilder, IBlockRestrictor restrictor) { throw new NotImplementedException(); }