Add game logic

This commit is contained in:
Andrew Cooper
2022-04-15 22:48:59 +10:00
parent 25dc10bf3f
commit 6927c5ad14
4 changed files with 45 additions and 2 deletions

View File

@@ -36,6 +36,6 @@ internal static class Resource
}
private static Stream GetStream([CallerMemberName] string? name = null)
=> Assembly.GetExecutingAssembly().GetManifestResourceStream($"Stars.Resources.{name}.txt")
=> Assembly.GetExecutingAssembly().GetManifestResourceStream($"Chief.Resources.{name}.txt")
?? throw new ArgumentException($"Resource stream {name} does not exist", nameof(name));
}