Beispiel #1
0
        public void Run()
        {
            MuseElf     elf         = new MuseElf("Mimi", 2);
            SoulMaster  soulMaster  = new SoulMaster("Pesho", 5);
            BladeKnight bladeKnight = new BladeKnight("Gosho", 2);

            Console.WriteLine($"Elf name: {elf.Username}, Level: {elf.Level}");
            Console.WriteLine(
                $"SoulMaster name: {soulMaster.Username}, Level: {soulMaster.Level}");
            Console.WriteLine(
                $"BladeKnight name: {bladeKnight.Username}, Level: {bladeKnight.Level}");
        }
Beispiel #2
0
        public static void Main(string[] args)
        {
            SoulMaster soulMaster = new SoulMaster("Gogata", 15);

            System.Console.WriteLine(soulMaster);
        }