Exemple #1
0
 public static void GetAllDefaultInformation(Thief thief)
 {
     Tools.ColorfulWriteLine($"Default Name: {DEFAULT_NAME}" +
                             $"\nDefault Level: {DEFAULT_LEVEL}" +
                             $"\nDefault HP: {DEFAULT_HEALTH_POINTS}" +
                             $"\nDefault Damage: {DEFAULT_DAMAGE}" +
                             $"\nDefault Weapon: {thief.DEFAULT_WEAPON.GetType()}", ConsoleColor.Blue
                             );
 }
Exemple #2
0
 public void Attack(Thief enemy)
 {
     enemy.HealthPoints -= Damage;
     Console.WriteLine($"{this.Name} is attacking {enemy.Name}. { enemy.Name} now has { enemy.HealthPoints} HP left!");
 }