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