Beispiel #1
0
        public static void MovementPrint(char[, ] arr, int velocity = 100, char symbol = '@', ConsoleColor color = ConsoleColor.DarkBlue)
        {
            StringBuilder strbResult = null;
            int           count      = 0;

            while (count < arr.GetLength(1))
            {
                Console.Clear();

                arr        = Symbols.MoveArray(arr);
                strbResult = Symbols.ToOneLineArrayConvert(arr);
                strbResult.Replace('#', symbol);

                Tools.WriteLineColorized($"{strbResult.ToString()}", color);

                Thread.Sleep(velocity);
                count++;
            }
        }
        private static char[, ] MoveInfoOnDisplay(char[, ] arr)
        {
            arr = Symbols.MoveArray(arr);

            return(arr);
        }