Example #1
0
 internal DiscardContainer()
 {
     CanTransferDelegates.Clear();
     CanTransferDelegates.Add(NoTransferBehavior);
     CanReceiveDelegates.Clear();
     CanReceiveDelegates.Add(NoUnReceiveBehavior);
 }
Example #2
0
 public Player(PlayerColor color) : base(InitialResources())
 {
     Color = color;
     CanTransferDelegates.Add(PlayerTransferBehavior);
     CanReceiveDelegates.Add(PlayerReceiveBehavior);
 }
Example #3
0
 internal ImmutableItemContainer(Dictionary <Item, int> itemDictionary) : base(itemDictionary)
 {
     CanTransferDelegates.Add(ImmutableBehavior);
     CanReceiveDelegates.Add(ImmutableBehavior);
 }