Files

31 lines
833 B
C#

using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace BriarQueen.Data.Identifiers
{
public enum PuzzleKey
{
AshwickOutskirtsGate,
}
public static class PuzzleIdentifiers
{
private static readonly IReadOnlyDictionary<PuzzleKey, string> _allPuzzles =
new ReadOnlyDictionary<PuzzleKey, string>(
new Dictionary<PuzzleKey, string>
{
{ PuzzleKey.AshwickOutskirtsGate, "CH1:Puzzle:AshwickOutskirtsGate" },
});
public static string Get(PuzzleKey key)
{
return _allPuzzles.TryGetValue(key, out var value) ? value : string.Empty;
}
public static IEnumerable<string> GetAllPuzzleIDs()
{
return _allPuzzles.Values;
}
}
}