protected override void MakeMenuSelection(int menuIndex) { this.enabled = false; switch (menuIndex) { case (0): // Open Item Window menuOptions[0].OpenMenu(); break; case (1): // Open Equip Window equipMenu.OpenMenu(); break; default: break; } }
public void _on_WeaponButton_pressed() { equipMenu.OpenMenu(Equipment.TypeOfEquipment.Weapon); }