// The main point of entry for the application.
        private static void Main(string[] args)
        {
            // Check the folders and files in the system.
            FolderSystem.Check();

            // Load the game data.
            DataManager.Load();

            // Initialize the audio system.
            AudioManager.Initialize();

            // Initialize the game graphics.
            GraphicsManager.Initialize();

            // Start the game-loop.
            LoL.GameLoop();
        }
        private static void GameLoop()
        {
            int tick = 0, tick16 = 0;

            // Mark the game as running, and show the main window.
            LoL.Flag = GameFlag.Running;

            // Continue to run the game-loop as long as our game
            // is not closing.
            while (LoL.Flag != GameFlag.Closing)
            {
                tick = Environment.TickCount;

                // Render graphics up to 60 times a second.
                if (tick16 < tick)
                {
                    GraphicsManager.Graphics?.Draw();
                    tick16 = tick + 16;
                }
            }

            // The game will only be destroyed when the flag is set to closing.
            LoL.Destroy();
        }