示例#1
0
        public void Setup()
        {
            _itemDefinition           = new ItemDefinition(System.Guid.NewGuid());
            _equippableItemDefinition = new EquippableItemDefinition(System.Guid.NewGuid());

            ItemFactory.Bind <ItemDefinition, ItemInstance>();
        }
 public EquippableItemInstance(Guid ID, IEquippableItemDefinition itemDefinition)
     : base(ID, itemDefinition)
 {
     this.itemDefinition = itemDefinition;
 }