Example #1
0
 public void Stop(InventoryObject _inventory)
 {
     if (base.Stop() && _inventory != null)
     {
         _inventory.Action(this);
     }
 }
Example #2
0
        public void Update(InventoryObject _inventory)
        {
            if (_inventory == null)
            {
                return;
            }

            if (base.Update())
            {
                _inventory.Action(this);
            }
        }