Exemplo n.º 1
0
        public void HideInventory()
        {
            if (!equipmentWindow.Enabled)
            {
                Hide();
            }
            InventoryWindowComponent inventory = inventoryWindow.Component as InventoryWindowComponent;

            inventory.Inventory.SetEnabled(false);
            inventoryWindow.Hide();
        }
Exemplo n.º 2
0
        public void HideEquipment()
        {
            if (!inventoryWindow.Enabled)
            {
                Hide();
            }
            EquipmentWindowComponent equipment = equipmentWindow.Component as EquipmentWindowComponent;

            equipment.SetEnabled(false);
            equipmentWindow.Hide();
        }