Ejemplo n.º 1
0
 public void LoadRestingButtons()
 {
     CurrentButtons.Clear();
     CurrentButtons.Add(Buttons["Reinforce Button"]);
     CurrentButtons.Add(Buttons["Green Ration Button"]);
     CurrentButtons.Add(Buttons["Heal Button"]);
 }
Ejemplo n.º 2
0
 void CreateButtons(TextPiece next)
 {
     foreach (var piece in next.Buttons)
     {
         var btn = piece.CreateButton(buttonsAnchor, this);
         CurrentButtons.Add(btn);
     }
 }
Ejemplo n.º 3
0
 private void CreateButtons(TextPiece next)
 {
     foreach (TextButton piece in next.Buttons)
     {
         DialogButton btn = piece.CreateButton(buttonsAnchor, this);
         CurrentButtons.Add(btn);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Load Spells Buttons Method
 /// </summary>
 public void LoadSpellsButtons()
 {
     CurrentButtons.Clear();
     CurrentButtons.Add(Buttons["Green Fireball Spell Button"]);
     CurrentButtons.Add(Buttons["Green Ice Spell Button"]);
     CurrentButtons.Add(Buttons["Green Poison Spell Button"]);
     CurrentButtons.Add(Buttons["Green Healing Spell Button"]);
     //CurrentButtons.Add(Buttons["Done Button"]);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Load Merchant Buttons Method
 /// </summary>
 public void LoadMerchantButtons()
 {
     CurrentButtons.Clear();
     CurrentButtons.Add(Buttons["Green Ration Button"]);
     CurrentButtons.Add(Buttons["Green Health Potion Button"]);
     CurrentButtons.Add(Buttons["Green Big Health Potion Button"]);
     CurrentButtons.Add(Buttons["Green Armor Piece Button"]);
     CurrentButtons.Add(Buttons["Green Spells Button"]);
 }
Ejemplo n.º 6
0
        public void LoadSkillCheckButtons()
        {
            switch (Option)
            {
            case 1:
                CurrentButtons.Add(Buttons["Found Ration Highlight"]);
                CurrentButtons.Add(Buttons["Health Potion Highlight"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster Highlight"]);

                break;

            case 2:

                CurrentButtons.Add(Buttons["Found Ration Highlight"]);
                CurrentButtons.Add(Buttons["Health Potion Highlight"]);
                CurrentButtons.Add(Buttons["Found Loot Highlight"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 2;
                break;

            case 3:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion Highlight"]);
                CurrentButtons.Add(Buttons["Found Loot Highlight"]);
                CurrentButtons.Add(Buttons["Whetstone Highlight"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                break;

            case 4:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot Highlight"]);
                CurrentButtons.Add(Buttons["Whetstone Highlight"]);
                CurrentButtons.Add(Buttons["Found Shield Highlight"]);
                CurrentButtons.Add(Buttons["Monster"]);

                break;

            case 5:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone Highlight"]);
                CurrentButtons.Add(Buttons["Found Shield Highlight"]);
                CurrentButtons.Add(Buttons["Monster Highlight"]);

                break;

            case 6:

                CurrentButtons.Add(Buttons["Found Ration Highlight"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield Highlight"]);
                CurrentButtons.Add(Buttons["Monster Highlight"]);

                break;

            default:
                break;
            }
        }
Ejemplo n.º 7
0
        public void LoadInitialRollButtons(int roll)
        {
            switch (roll)
            {
            case 1:
                CurrentButtons.Add(Buttons["Found Ration Highlight"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 1;
                break;

            case 2:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion Highlight"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 2;
                break;

            case 3:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot Highlight"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 3;
                break;

            case 4:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone Highlight"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 4;
                break;

            case 5:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield Highlight"]);
                CurrentButtons.Add(Buttons["Monster"]);

                Option = 5;
                break;

            case 6:

                CurrentButtons.Add(Buttons["Found Ration"]);
                CurrentButtons.Add(Buttons["Health Potion"]);
                CurrentButtons.Add(Buttons["Found Loot"]);
                CurrentButtons.Add(Buttons["Whetstone"]);
                CurrentButtons.Add(Buttons["Found Shield"]);
                CurrentButtons.Add(Buttons["Monster Highlight"]);

                Option = 6;
                break;

            default:
                break;
            }
        }