internal RaidSelect(BossFight bossFight,UnlockedHeroes unlockedHeroes) { this.bossFight = bossFight; fightName = BossFightLibrary.getBossFightName(bossFight.getFightID()); limit = bossFight.getBossInfo().maxplayers;//getMaxPlayers(); raid = new PlayerClassNum[MAX_RAID_SIZE]; for (int i = limit; i < MAX_RAID_SIZE; i++) { raid[i] = PlayerClassNum.cant; } backButton = new Button(new Rectangle(49, 502, 153, 80)); startButton = new Button(new Rectangle(559, 517, 177, 68)); vangButton = new Button(new Rectangle(10,5,63,54)); puriButton = new Button(new Rectangle(85, 5, 63, 54)); mageButton = new Button(new Rectangle(10, 71, 63, 54)); assButton = new Button(new Rectangle(85, 71, 63, 54)); archerButton = new Button(new Rectangle(10, 71 + (71 - 5), 63, 54)); bardButton = new Button(new Rectangle(85, 71 + (71 - 5), 63, 54)); hero1 = new Button(new Rectangle(10,245,63,54)); hero2 = new Button(new Rectangle(85, 245, 63, 54)); hero3 = new Button(new Rectangle(10, 312, 63, 54)); hero4 = new Button(new Rectangle(85, 312, 63, 54)); raidButtons = new Button[MAX_RAID_SIZE]; raidButtons[0] = new Button(new Rectangle(443, 19, 63, 54)); raidButtons[1] = new Button(new Rectangle(443, 82, 63, 54)); raidButtons[2] = new Button(new Rectangle(443, 150, 63, 54)); raidButtons[3] = new Button(new Rectangle(443, 214, 63, 54)); raidButtons[4] = new Button(new Rectangle(443, 281, 63, 54)); raidButtons[5] = new Button(new Rectangle(519, 19, 63, 54)); raidButtons[6] = new Button(new Rectangle(519, 82, 63, 54)); raidButtons[7] = new Button(new Rectangle(519, 150, 63, 54)); raidButtons[8] = new Button(new Rectangle(519, 214, 63, 54)); raidButtons[9] = new Button(new Rectangle(519, 281, 63, 54)); raidButtons[10] = new Button(new Rectangle(595, 19, 63, 54)); raidButtons[11] = new Button(new Rectangle(595, 82, 63, 54)); raidButtons[12] = new Button(new Rectangle(595, 150, 63, 54)); raidButtons[13] = new Button(new Rectangle(595, 214, 63, 54)); raidButtons[14] = new Button(new Rectangle(595, 281, 63, 54)); raidButtons[15] = new Button(new Rectangle(671, 19, 63, 54)); raidButtons[16] = new Button(new Rectangle(671, 82, 63, 54)); raidButtons[17] = new Button(new Rectangle(671, 150, 63, 54)); raidButtons[18] = new Button(new Rectangle(671, 214, 63, 54)); raidButtons[19] = new Button(new Rectangle(671, 281, 63, 54)); mUnlockedHeroes = unlockedHeroes; }