Beispiel #1
0
 private static void test3()
 {
     AureolePlayers.Load(@"C:\Users\Sildra\Desktop\Dev\aureole.json");
     foreach (var player in AureolePlayers.Players)
     {
         player.Print();
     }
     Console.ReadKey();
 }
Beispiel #2
0
        private static void test2()
        {
            var player = new Player("Merlu");

            player.AddSkill(new Skill("Attack", 2, 1, 1, 0));
            player.AddSkill(new Skill("Sneak", 2, 8, 2, 0));
            AureolePlayers.AddPlayer(player);
            AureolePlayers.Save(@"C:\Users\Sildra\Desktop\Dev\aureole.json");
            Console.ReadKey();
        }