예제 #1
0
 private static void DisplayCharacter(Character character)
 {
     Console.WriteLine(character.Class + " Lvl " + character.Experience.Level);
     Console.WriteLine("HP: " + character.Health.HitPoints);
     Console.WriteLine("AC: " + character.GetArmorClass());
     Console.WriteLine("Str: " + character.Abilities.Strength.Value);
     Console.WriteLine("Dex: " + character.Abilities.Dexterity.Value);
     Console.WriteLine("Con: " + character.Abilities.Constitution.Value);
     Console.WriteLine("Int: " + character.Abilities.Intelligence.Value);
     Console.WriteLine("Wis: " + character.Abilities.Wisdom.Value);
     Console.WriteLine("Cha: " + character.Abilities.Charisma.Value);
     Console.WriteLine("Gold: " + character.Money.Gold);
 }
예제 #2
0
 public void AddCharacter(Character character)
 {
     Characters.Add(character);
 }