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);
            }
        }
Example #3
0
 public void RestrictorRemoved(IBlueprintBuilder blueprintBuilder, IBlockRestrictor restrictor)
 {
     throw new NotImplementedException();
 }