public void Start() { ConsoleWindow.ShowWindow(ConsoleWindow.ThisConsole, ConsoleWindow.MAXIMIZE); Console.ForegroundColor = ConsoleColor.Green; Console.CursorVisible = true; while (CurrentScene.HasNextScenes()) { PlayScene(); } PlayFinalScene(); }
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(); }