コード例 #1
0
        static void Main(string[] args)
        {
            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                ConsoleWindow.ShowWindow(ConsoleWindow.ThisConsole, ConsoleWindow.MAXIMIZE);
                ConsoleWindow.SetWindowsWindow();
                ASSETS_PATH = @"assets\";
            }
            else
            {
                ConsoleWindow.SetMacWindow();
                ASSETS_PATH = @"assets/";
            }
            Console.CursorVisible = false;
            GameEngine gameEngine = new GameEngine();

            gameEngine.Start();
        }