예제 #1
0
        /// <summary>
        /// Writes the barriers to the buffer
        /// </summary>
        public void Write()
        {
            // Set the color to green
            BufferEditor.SetColor(ConsoleColor.Green);

            for (int i = 0; i < BARRIER_HEIGHT; i++)
            {
                BufferEditor.Delete(coordinates.X, coordinates.Y + i - 1, sprite[i]);
            }
        }