示例#1
0
 public static void GetSuperHero()
 {
     FighterLogicLayer.DisplayAllSuperHeros();
     _superHeroId = GetUserInput("Please select the super hero you want to use.", _minValue, DataLayer.GetAllSuperHeros().Count);
     FighterLogicLayer.GetFighter(_superHeroId, DataLayer.GetAllSuperHeros().Cast <Fighter>().ToList());
     f1 = FighterLogicLayer.fighter(_superHero);
 }
示例#2
0
 public static void GetAllVillians()
 {
     FighterLogicLayer.DisplayAllVillians();
     FighterLogicLayer.GetValues();
     _villian = GetUserInput("Please select the villian you want to use.", FighterLogicLayer.minValue, FighterLogicLayer.maxValue);
     FighterLogicLayer.GetFighter(_superHeroId, DataLayer.GetAllVillains().Cast <Fighter>().ToList());
     f2 = FighterLogicLayer.fighterEvil(_villian);
 }