private string FindClassDesc(int classSelection) { if (classSelection == 0) { BasePlayerClass tempClass = new BaseKnight(); return(tempClass.CharacterClassDesc); } else if (classSelection == 1) { BasePlayerClass tempClass = new BaseMage(); return(tempClass.CharacterClassDesc); } else if (classSelection == 2) { BasePlayerClass tempClass = new BaseWarrior(); return(tempClass.CharacterClassDesc); } return("ERROR: NO CLASS FOUND"); }
private string FindClassStats(int classSelection) { if (classSelection == 0) { BasePlayerClass tempClass = new BaseKnight(); string tempStats = "Vitality: " + tempClass.Vitality + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Attack: " + tempClass.Attack + "\n" + "Defense: " + tempClass.Defense + "\n" + "Precision: " + tempClass.Precision; return(tempStats); } else if (classSelection == 1) { BasePlayerClass tempClass = new BaseMage(); string tempStats = "Vitality: " + tempClass.Vitality + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Attack: " + tempClass.Attack + "\n" + "Defense: " + tempClass.Defense + "\n" + "Precision: " + tempClass.Precision; return(tempStats); } else if (classSelection == 2) { BasePlayerClass tempClass = new BaseWarrior(); string tempStats = "Vitality: " + tempClass.Vitality + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Attack: " + tempClass.Attack + "\n" + "Defense: " + tempClass.Defense + "\n" + "Precision: " + tempClass.Precision; return(tempStats); } return("ERROR: NO STATS FOUND"); }