예제 #1
0
		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;
		}
예제 #2
0
        public Item ResolveFakeItem(Creature _creature, FakedItem _fakeItem)
        {
            Debug.WriteLine("RESOLVE " + _fakeItem);
            RemoveItem(_fakeItem);
            var item = (Item)_fakeItem.Essence.Clone(_creature);

            AddItem(item);
            return(item);
        }
예제 #3
0
        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);
        }