public Essence ResolveFakeItem(Creature _creature, FakedItem _fakedItem) { Debug.WriteLine("RESOLVE " + _fakedItem); GetItems(_creature).Remove(_fakedItem); var item = (Item)_fakedItem.Essence.Clone(_creature); GetItems(_creature).Add(item); return item; }
public Item ResolveFakeItem(Creature _creature, FakedItem _fakeItem) { Debug.WriteLine("RESOLVE " + _fakeItem); RemoveItem(_fakeItem); var item = (Item)_fakeItem.Essence.Clone(_creature); AddItem(item); return(item); }
public Essence ResolveFakeItem(Creature _creature, FakedItem _fakedItem) { Debug.WriteLine("RESOLVE " + _fakedItem); GetItems(_creature).Remove(_fakedItem); var item = (Item)_fakedItem.Essence.Clone(_creature); GetItems(_creature).Add(item); return(item); }