Castle.GameMenuConsole.DrawCastle C# (CSharp) Method

DrawCastle() private method

private DrawCastle ( ) : void
return void
        private void DrawCastle()
        {
            // Draw Tower 1
            for (int x = 4; x < 11; x++)
            {
                SetGlyph(x, 5, 177, Color.White);
            }
            for (int x = 5; x < 10; x++)
            {
                for (int y = 6; y < 8; y++)
                {
                    SetGlyph(x, y, 177, Color.White);
                }
            }
            SetGlyph(4, 4, 219, Color.White);
            SetGlyph(6, 4, 219, Color.White);
            SetGlyph(8, 4, 219, Color.White);
            SetGlyph(10, 4, 219, Color.White);

            // Draw Tower 2
            for (int x = 28; x < 35; x++)
            {
                SetGlyph(x, 5, 177, Color.White);
            }
            for (int x = 29; x < 34; x++)
            {
                for (int y = 6; y < 8; y++)
                {
                    SetGlyph(x, y, 177, Color.White);
                }
            }
            SetGlyph(28, 4, 219, Color.White);
            SetGlyph(30, 4, 219, Color.White);
            SetGlyph(32, 4, 219, Color.White);
            SetGlyph(34, 4, 219, Color.White);

            // Draw tops of walls
            SetGlyph(11, 7, 220, Color.White);
            SetGlyph(12, 7, 220, Color.White);
            SetGlyph(14, 7, 220, Color.White);
            SetGlyph(15, 7, 220, Color.White);
            SetGlyph(17, 7, 220, Color.White);
            SetGlyph(18, 7, 220, Color.White);
            SetGlyph(20, 7, 220, Color.White);
            SetGlyph(21, 7, 220, Color.White);
            SetGlyph(23, 7, 220, Color.White);
            SetGlyph(24, 7, 220, Color.White);
            SetGlyph(26, 7, 220, Color.White);
            SetGlyph(27, 7, 220, Color.White);

            // Draw Walls
            for (int x = 5; x < 34; x++)
            {
                for (int y = 8; y < 11; y++)
                {
                    SetGlyph(x, y, 177, Color.White);
                }
            }
            for (int x = 7; x < 32; x++)
            {
                for (int y = 11; y <= 21; y++)
                {
                    SetGlyph(x, y, 177, Color.White);
                }
            }

            // Draw Gate Wall
            for (int x = 17; x < 22; x++)
            {
                for (int y = 17; y <= 21; y++)
                {
                    SetGlyph(x, y, 219, Color.White);
                }
            }

            // Draw Gate
            for (int x = 18; x < 21; x++)
            {
                for (int y = 18; y <= 21; y++)
                {
                    SetGlyph(x, y, 197, Color.White);
                }
            }
        }