Exemple #1
0
    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;
        }
    }
Exemple #2
0
 public void _on_WeaponButton_pressed()
 {
     equipMenu.OpenMenu(Equipment.TypeOfEquipment.Weapon);
 }