void Start() { invertory = new Invertory(); uIIntervertory.SetInventory(invertory); ItemWorld.SpwanItemWorld(new Vector3(-6, 2), new UIItem { itemtype = UIItem.Itemtype.HelathPotion, amount = 1 }); ItemWorld.SpwanItemWorld(new Vector3(5, 1), new UIItem { itemtype = UIItem.Itemtype.ManaPotion, amount = 1 }); ItemWorld.SpwanItemWorld(new Vector3(-1, -3), new UIItem { itemtype = UIItem.Itemtype.Sword, amount = 1 }); }
public void Save(Invertory entity) { throw new NotImplementedException(); }
public Room MoveInvertory(Invertory invertory, Room room) { throw new NotImplementedException(); }
public Invertory SellInvertory(Invertory invertory) { throw new NotImplementedException(); }
public void SetInventory(Invertory invertory) { this.invertory = invertory; invertory.onItemListChange += Invertory_onItemListChange; RefreshInvenToryItems(); }