//newish one public void LoadContent(BossFight bossFight, List<List<ChampItemPair>> raidComp) { this.LoadContent(bossFight); List<PlayerClassI> playerRaid = PlayerClassI.makeRaid(raidComp, new Vector2f(191,50)); foreach (PlayerClassI p in playerRaid) { //place all in moveables moveables.Add(p); } List<Enemy> enemys = bossFight.getEnemies(); foreach (Moveable m in enemys) { moveables.Add(m); } if (enemys.Count >= 1) mainEnemy = enemys[0]; selected = playerRaid[0]; playerAmt = playerRaid.Count; raidFrames = new RaidFrames(this, playerRaid, new Vector2f(5,200)); LoadBackdrop(bossFight.getFightID()); }
//oldish one public void LoadContent(BossFight bossFight, PlayerClassNum[] raidComp) { this.LoadContent(bossFight); List<PlayerClassI> playerRaid = PlayerClassI.makeRaid(raidComp, new Vector2f(191,50)); //TODO preset spots specific to bossfight foreach (PlayerClassI p in playerRaid) { //place all in moveables moveables.Add(p); } List<Enemy> enemys = bossFight.getEnemies(); foreach (Moveable m in enemys) { moveables.Add(m); } if (enemys.Count >= 1) mainEnemy = enemys[0]; selected = playerRaid[0]; playerAmt = playerRaid.Count; raidFrames = new RaidFrames(this, playerRaid, new Vector2f(5,200)); }