public void Linea(string genus, Persona Ego) { genus = genus.ToLower(); switch (genus) { case "human": typus = "Human"; Human.Apto(Ego); break; case "orc": typus = "Orc"; Orc.Apto(Ego); break; case "vampire": typus = "Vampire"; Vampire.Apto(Ego); break; case "dwarf": typus = "Dwarf"; Dwarf.Apto(Ego); break; case "elf": typus = "Elf"; Elf.Apto(Ego); break; case "werewolf": typus = "Werewolf"; Werewolf.Apto(Ego); break; default: Console.WriteLine("Currently extinct."); Σ.rector = "ex"; break; } Cisterna(typus, Ego); }
/*public void NovaMensura(string genus){ * switch(genus){ * case "human": * Human.NovaMensura(Ego.CorpusAptus); * break; * case "orc": * Orc.NovaMensura(Ego.CorpusAptus); * break; * case "vampire": * Vampire.NovaMensura(Ego.CorpusAptus); * break; * case "dwarf": * Dwarf.NovaMensura(Ego.CorpusAptus); * break; * case "elf": * Elf.NovaMensura(Ego.CorpusAptus); * break; * case "werewolf": * Werewolf.NovaMensura(Ego.CorpusAptus); * break; * default: * break; * } * }*/ public void Auto(string genus, string nomen) { genus = genus.ToLower(); switch (genus) { case "human": Human.Auto(nomen); break; case "orc": Orc.Auto(nomen); break; case "vampire": Vampire.Auto(nomen); break; case "dwarf": Dwarf.Auto(nomen); break; case "elf": Elf.Auto(nomen); break; case "werewolf": Werewolf.Auto(nomen); break; case "quadrupod": Quadrupod.Auto(nomen); break; default: Human.Auto(nomen); break; } }
public void Cisterna(string genus, Persona Ego) { Console.WriteLine("\nYour life points, HP as hit points or PV as points de vie, and mana points, MP, are determinated by your race and statuses."); Console.WriteLine("Type 'roll' to see the rolls one by one or anything else to skip."); genus = genus.ToLower(); switch (genus) { case "human": Human.Cisterna(Ego); break; case "orc": Orc.Cisterna(Ego); break; case "vampire": Vampire.Cisterna(Ego); break; case "dwarf": Dwarf.Cisterna(Ego); break; case "elf": Elf.Cisterna(Ego); break; case "werewolf": Werewolf.Cisterna(Ego); break; default: break; } Mensura(typus, Ego); }