diff --git a/WarhoundConsole/Program.cs b/WarhoundConsole/Program.cs index 096f9b8..11d9691 100644 --- a/WarhoundConsole/Program.cs +++ b/WarhoundConsole/Program.cs @@ -20,7 +20,7 @@ namespace WarhoundConsole private static void MainInternal(string[] args) { - + Singleton.I.Initialize(); } } } diff --git a/WarhoundConsole/Singleton.cs b/WarhoundConsole/Singleton.cs new file mode 100644 index 0000000..6507889 --- /dev/null +++ b/WarhoundConsole/Singleton.cs @@ -0,0 +1,18 @@ +namespace WarhoundConsole +{ + public sealed class Singleton + { + public static Singleton I => i ??= new(); + private static Singleton? i = null; + + private Singleton() + { + + } + + public void Initialize() + { + + } + } +}