private static void InitializeButtonGroups()
 {
     SaveButtonGroup = new ButtonGroup(new Vector2(500,500), SaveButtonGroupPath, 1.0f, Content, 1,1);
     QuitButtonGroup = new ButtonGroup(new Vector2(500, 500), QuitButtonGroupPath, 1.0f, Content, 1, 1);
     MainMenuButtonGroup = new ButtonGroup(new Vector2(1140, 250), MainMenuButtonGroupPath, 1.0f, Content, 1, 5);
     HeroActionButtonGroup = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 3, 2);
     BuildButtonGroup = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 3, 2);
     BuildButtonGroupPageTwo = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 3, 2);
     UtilityButtonGroup = new ButtonGroup(new Vector2(350, 810), UtilityButtonGroupPath, 1.0f, Content, 1, 2);
     RallyButtonGroup = new ButtonGroup(new Vector2(478, 810), RallyButtonGroupPath, 1.0f, Content, 3, 2);
     StructureButtonGroup = new ButtonGroup(new Vector2(1200, 97), StructureButtonGroupPath, 1.0f, Content, 1, 5);
     PurchaseStructureButtonGroup = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 3, 2);
     PurchaseStrctureButtonGroupPageTwo = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 3, 2);
     SpellButtonGroup = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     UpgradeUnitButtonGroup1 = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     UpgradeUnitButtonGroup2 = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     UpgradeUnitButtonGroup3 = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     UpgradeUnitButtonGroup4 = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     UpgradeUnitButtonGroup5 = new ButtonGroup(new Vector2(478, 810), HeroActionButtonGroupPath, 1.0f, Content, 2, 2);
     TutorialNavigationButtonGroup = new ButtonGroup(new Vector2(0, 0), TutorialNavigationButtonGroupPath, 1.0f, Content, 2, 1);
     SettingsButtonGroup = new ButtonGroup(new Vector2(0, 0), SettingsButtonGroupPath, 1.0f, Content, 1, 1);
 }
Example #2
0
 public void AddButtonGroup(ButtonGroup buttonGroup)
 {
     mButtonGroupList.Add(buttonGroup);
 }