Beispiel #1
0
        private void NextVisualization()
        {
            if (nextVisualization <= visualizations.Count)
            {
                currentVisualization?.OutView();

                currentVisualization          = visualizations[nextVisualization];
                currentVisualization.AppShell = this;

                currentVisualization.InView();
            }

            gameConsole.WriteLine($"-- Visualization, {currentVisualization.Title}", ColorPalette.Color1);

            Window.Title      = string.Format("{0} - {1}", BaseTitleText, currentVisualization.Title);
            nextVisualization = (nextVisualization + 1) % visualizations.Count;
        }