Пример #1
0
 public void Attack(BowArrow bowArrow, Monster monster)
 {
     Console.WriteLine("You Attacked The Monster!\n The shoot of your arrow inflicts: " + bowArrow.Attack + " " + "damage\n");
     monster.Health -= bowArrow.Attack;
 }
Пример #2
0
 public User(Sword sword, BowArrow bowNArrow, BattleStaff battleStaff)
 {
     Sword       = sword;
     BowNArrow   = bowNArrow;
     BattleStaff = battleStaff;
 }