SunsetHigh.Inventory.addItem C# (CSharp) Method

addItem() public method

Adds one item of a given type to this Inventory
public addItem ( System.Item type ) : void
type System.Item The Item type to add
return void
        public void addItem(Item type)
        {
            this.addItem(type, 1);
        }

Same methods

Inventory::addItem ( System.Item type, int quantity ) : void