예제 #1
0
 public void Defeat()
 {
     var dungeonRepository = new DungeonRepository();
     var dungeons = dungeonRepository.GetAllDungeons();
     SetDungeonAsCleared(dungeons);
     UnlockNextDungeon(dungeons);
     dungeonRepository.Save(dungeons);
 }
 public DungeonSelection()
 {
     _dungeonRepository = new DungeonRepository();
     InitializeComponent();
 }