Ejemplo n.º 1
0
        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);
        }