Example #1
0
 public virtual void PickUpItem(ItemBase it) => TakeFromItem(it);
Example #2
0
 public virtual bool CanSwap(ItemBase it) => true;
Example #3
0
 public virtual bool CanTake(ItemBase it) => IsEmpty() || item.GetType() == it?.GetType();
Example #4
0
 public virtual void Trash(ItemBase item)
 {
 }
Example #5
0
 public bool CanTakeSingle(ItemBase it) => base.CanTake(it);
Example #6
0
 public override bool CanTake(ItemBase it) => HandItem is null || it?.GetType() == HandItem.GetType();