싱글톤 클래스 추가

This commit is contained in:
2025-12-07 04:14:03 +09:00
parent 5e673375d4
commit ed36f4e747
2 changed files with 19 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ namespace WarhoundConsole
private static void MainInternal(string[] args) private static void MainInternal(string[] args)
{ {
Singleton.I.Initialize();
} }
} }
} }

View File

@@ -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()
{
}
}
}