예제 #1
0
파일: Fight.cs 프로젝트: ejbulaong/RPG-Game
 private void Win()
 {
     Hero.Golds += Enemy.GoldsDrop;
     Hero.KilledMonsters.Add(Enemy);
     Hero.CheckForAchievements();
     Console.WriteLine($"{Enemy.Name} has been defeated! You win the battle! {Enemy.GoldsDrop} Golds received");
 }