public string FindClassDescription(string characterClass) { if (characterClass == "Squire") { BaseCharacterClass tempClass = new BaseSquireClass(); return(tempClass.CharacterClassDescription); } else if (characterClass == "Mage") { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescription); } return("No class selected."); }
public string FindClassStats(string characterClass) { if (characterClass == "Squire") { BaseCharacterClass tempClass = new BaseSquireClass(); string tempStats = "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Vitality: " + tempClass.Vitality + "\n" + "Intelligence: " + tempClass.Intelligence; return(tempStats); } else if (characterClass == "Mage") { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Vitality: " + tempClass.Vitality + "\n" + "Intelligence: " + tempClass.Intelligence; return(tempStats); } return("No class selected."); }