private string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseArcherClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 3) { BaseCharacterClass tempClass = new BaseRougeClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 4) { BaseCharacterClass tempClass = new BasePriestClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 5) { BaseCharacterClass tempClass = new BaseWarlockClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 6) { BaseCharacterClass tempClass = new BasePaladinClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 7) { BaseCharacterClass tempClass = new BaseEnhancerClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } return("No Stats Found"); }
private string FindClassDescription(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseArcherClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 3) { BaseCharacterClass tempClass = new BaseRougeClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 4) { BaseCharacterClass tempClass = new BasePriestClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 5) { BaseCharacterClass tempClass = new BaseWarlockClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 6) { BaseCharacterClass tempClass = new BasePaladinClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 7) { BaseCharacterClass tempClass = new BaseEnhancerClass(); return(tempClass.CharacterClassDescrip); } return("No Class Found"); }