// Copyright 2018 RED Software, LLC. All Rights Reserved. namespace IgniteEngine.Content.Items { /// /// Class that contains data for a character's equipment. /// public class Equipment : Inventory { /// /// The base maximum number of items this inventory can contain. /// public const int BASE_CAPACITY = 29; /// /// Creates a new instance of the class. /// public Equipment() : base(InventoryType.IT_EQUIPPED, BASE_CAPACITY) { } /// /// Returns the equipped item at the specified inventory position. /// /// The item's equip type.S public Item this[ItemEquip equip] => Items.First(i => i.Info.Equip == equip); } }