示例#1
0
        ///垂直线:只有横坐标,没有纵坐标
        private void button8_Click(object sender, EventArgs e)
        {
            VerticalLine line2 = new VerticalLine(1.2);

            line2.LengthScale = 0.89f;
            this.myPlot.Add(line2);
        }
        protected override void Init()
        {
            // Event occurs once at the start of the strategy
            // Вставить индикатор Alligator
            _allInd = GetIndicator <Alligator>(Instrument.Id, Timeframe);
            // Вставить индикатор Fractals
            _frInd = GetIndicator <Fractals>(Instrument.Id, Timeframe);

            hline     = Tools.Create <HorizontalLine>();
            lline     = Tools.Create <HorizontalLine>();
            vlR       = Tools.Create <VerticalLine>();
            vlR.Color = Color.Red;
            vlB       = Tools.Create <VerticalLine>();
            vlB.Color = Color.Blue;
            vlY       = Tools.Create <VerticalLine>();
            vlY.Color = Color.Yellow;
            vlG       = Tools.Create <VerticalLine>();
            vlG.Color = Color.DarkGreen;

            //periodM15 = new Period(PeriodType.Minute, 15);
            //_barSeries = GetCustomSeries(Instrument.Id, Period.H1);
            //_barM15 = GetCustomSeries(Instrument.Id,periodM15);
            //_ftoInd   = GetIndicator<FisherTransformOscillator>(Instrument.Id, Period.H1);
            //_ftoIndM15= GetIndicator<FisherTransformOscillator>(Instrument.Id, periodM15);
        }
示例#3
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     ProjTexture.Dispose();
     VerticalLine.Dispose();
     HorizontalLine.Dispose();
 }
示例#4
0
        protected override void Init()
        {
            // Event occurs once at the start of the strategy
            Print("Starting TS on account: {0}, comment: {1}", this.Account.Number, CommentText);
            InitLogFile();
            //XXPrint("ZZ11:{0} Счет:{1} Пара:{2}",Bars[Bars.Range.To].Time, this.Account.Number,this.Instrument.Name);
            //XXPrint("Ордер Дата Time №Ордер Цена Left Right Delta VLeft VOrder VRight");

            _wprInd          = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
            _wprInd.ExtDepth = ED;

            if (Instrument.Name.EndsWith("JPY"))
            {
                kor2 = 0.001 * Pt; Zn = 1000; n = 3;
            }
            else
            {
                kor2 = 0.00001 * Pt; Zn = 100000; n = 5;
            }
            //_frInd = GetIndicator<Fractals>(Instrument.Id, Timeframe);

            vr = Tools.Create <VerticalLine>(); vr.Color = Color.Red;
            vb = Tools.Create <VerticalLine>(); vb.Color = Color.Blue;
            vy = Tools.Create <VerticalLine>(); vy.Color = Color.Yellow;
            vw = Tools.Create <VerticalLine>(); vw.Color = Color.MediumVioletRed;
        }
示例#5
0
 protected override void Init()
 {
     frac  = 7;
     dlt   = dl * Instrument.Point;
     hline = Tools.Create <HorizontalLine>();
     vline = Tools.Create <VerticalLine>();
 }
        public void DeleteObjectFromBoard(IBoard board)
        {
            IDrawingObject obj = new DrawingObject();

            Console.WriteLine("Select what you want delete: 0 - point, 1 - horizontal line, 2 - vertical line\n3 - Back to drawing\n-1 - Exit from app");
            var userChoice = Console.ReadLine();

            while (int.Parse(userChoice) < -1 || int.Parse(userChoice) > 3)
            {
                Console.WriteLine("Inavlid symbol. Try again!\nSelect what you want delete: 0 - point, 1 - horizontal line, 2 - vertical line\n3 - Back to drawing\n-1 - Exit from app");
                userChoice = Console.ReadLine();
            }
            if (int.Parse(userChoice) == -1)
            {
                Environment.Exit(0);
            }
            else if (int.Parse(userChoice) == 0)
            {
                obj = new Point();
            }
            else if (int.Parse(userChoice) == 1)
            {
                obj = new HorizontalLine();
            }
            else if (int.Parse(userChoice) == 2)
            {
                obj = new VerticalLine();
            }
            else
            {
                return;
            }
            board.DeleteObject(obj);
        }
示例#7
0
 protected override void Init()
 {
     //_values = CreateSeries<double>();
     Print("TotalPeriod: {0}", TotalPeriod);
     toolVerticalLine = Tools.Create <VerticalLine>();
     toolHorizLine    = Tools.Create <HorizontalLine>();
 }
示例#8
0
文件: ZZ9.cs 项目: ivan-petrov-ubk/CS
        // Fractal


        protected override void Init()
        {
            // Event occurs once at the start of the strategy
            Print("Starting TS on account: {0}, comment: {1}", this.Account.Number, CommentText);
            _wprInd          = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
            _wprInd.ExtDepth = ED;
            if (Instrument.Name.EndsWith("JPY"))
            {
                kor = 0.001 * SP;
            }
            else
            {
                kor = 0.00001 * SP;
            }
            _frInd = GetIndicator <Fractals>(Instrument.Id, Timeframe);


            vr = Tools.Create <VerticalLine>(); vr.Color = Color.Red;
            vb = Tools.Create <VerticalLine>(); vb.Color = Color.Blue;
            vy = Tools.Create <VerticalLine>(); vy.Color = Color.Yellow;
            vw = Tools.Create <VerticalLine>(); vw.Color = Color.White;

            if (Instrument.Name.EndsWith("JPY"))
            {
                x = 0.3;
            }
            else
            {
                x = 0.003;
            }
        }
示例#9
0
        public void TestAddingToPlotter()
        {
            HorizontalLine line = new HorizontalLine {
                Value = 0.2
            };
            ChartPlotter plotter = new ChartPlotter();

            plotter.Children.Add(line);

            VerticalLine line2 = new VerticalLine {
                Value = 0.1
            };

            plotter.Children.Add(line2);

            VerticalRange range = new VerticalRange {
                Value1 = 0.1, Value2 = 0.3
            };

            plotter.Children.Add(range);

            RectangleHighlight rect = new RectangleHighlight {
                Bounds = new Rect(0, 0, 1, 1)
            };

            plotter.Children.Add(rect);
        }
示例#10
0
        private void myPlot_MouseMove(object sender, MouseEventArgs e)
        {
            if (myPlot.PhysicalYAxis1Cache == null || myPlot.PhysicalXAxis1Cache == null)
            {
                return;
            }
            ///////水平线//////////
            if (lineH2 == null)
            {
                lineH2 = new HorizontalLine(10);

                lineH2.LengthScale   = 2.89f;
                lineH2.OrdinateValue = 2;
                this.myPlot.Add(lineH2, 10);
            }

            double Y = myPlot.PhysicalYAxis1Cache.PhysicalToWorld(e.Location, false);
            double X = myPlot.PhysicalXAxis1Cache.PhysicalToWorld(e.Location, false);

            toolTip1.SetToolTip(myPlot, X + "," + Y);

            toolTip1.AutoPopDelay = 10 * 1000;
            ///////垂直线///////////
            if (lineV2 == null)
            {
                lineV2               = new VerticalLine(10);
                lineV2.LengthScale   = 0.89f;
                lineV2.AbscissaValue = 2;
                this.myPlot.Add(lineV2);
            }

            lineH2.OrdinateValue = Y;
            lineV2.AbscissaValue = X;
            myPlot.Refresh();
        }
示例#11
0
 protected override void Init()
 {
     _wprInd          = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
     _wprInd.ExtDepth = ED;
     vy       = Tools.Create <VerticalLine>();
     vy.Color = Color.Yellow;
 }
示例#12
0
        protected override void Init()
        {
            nu = false; nd = false; tu = false; td = false;
            Print("Init !!! 1");
            InitFile();
            _ma50        = GetIndicator <MovingAverage>(Instrument.Id, Timeframe, 50, 0, MaMethods.Ema, PriceMode.Close);
            _tsfInd      = GetIndicator <TimeSeriesForecast>(Instrument.Id, Timeframe);
            _ftoInd      = GetIndicator <FisherTransformOscillator>(Instrument.Id, Timeframe);
            _frInd       = GetIndicator <Fractals>(Instrument.Id, Timeframe);
            _frInd.Range = frac - 2;

            vl       = Tools.Create <VerticalLine>();
            vl.Width = 2;
            hl       = Tools.Create <HorizontalLine>();

            k   = 0;                     // Для першого входження -
            kf  = 0.090909;
            dlt = dl * Instrument.Point; // Отступ от стопа

            frU1 = 0.0; frU2 = 0.0; frU3 = 0.0;
            frD1 = 0.0; frD2 = 0.0; frD3 = 0.0;
            fsU1 = 0.0; fsU2 = 0.0; fsU3 = 0.0;
            fsD1 = 0.0; fsU2 = 0.0; fsU3 = 0.0;

            trueLogPath = PathToLogFile + "\\" + L1 + "_" + Instrument.Name.ToString() + ".LOG";
            trueBuyPath = PathToLogFile + "\\01_TORG.LOG";
        }
示例#13
0
            public void Union(VerticalLine verticalLine)
            {
                VerticalLine result;

                result      = Union(verticalLine, this);
                this.Y      = result.Y;
                this.Height = result.Height;
            }
示例#14
0
            public void Intersect(VerticalLine verticalLine)
            {
                VerticalLine result;

                result      = Intersect(verticalLine, this);
                this.Y      = result.Y;
                this.Height = result.Height;
            }
示例#15
0
            public static VerticalLine Intersect(VerticalLine verticalLine1, VerticalLine verticalLine2)
            {
                int bottom, top;

                top    = Math.Max(verticalLine1.Y, verticalLine2.Y);
                bottom = Math.Min(verticalLine1.Bottom, verticalLine2.Bottom);
                return(bottom >= top?FromTB(top, bottom) : Empty);
            }
示例#16
0
 private void Blue(DateTime Dt)
 {
     //Tools.Remove(Bl);
     //Print("OK!");
     Bl       = Tools.Create <VerticalLine>();
     Bl.Time  = Dt;
     Bl.Color = Color.Blue;
 }
示例#17
0
 protected override void Init()
 {
     _frInd = GetIndicator <Fractals>(Instrument.Id, Timeframe);
     //nkz=Math.Round((double)nkz1/100000,5);
     vr = Tools.Create <VerticalLine>(); vr.Color = Color.Red;
     vb = Tools.Create <VerticalLine>(); vb.Color = Color.Blue;
     L1 = Tools.Create <HorizontalLine>();
 }
示例#18
0
        public override string Print(SudokuPuzzle puzzle)
        {
            StringBuilder stringBuilder = new StringBuilder();
            const int     deciderWidth  = 2;
            int           width         = puzzle.Length;
            int           length        = puzzle.Length;
            int           decider       = width * deciderWidth * 2;
            int           newDecider    = (decider - 6) / 2;

            stringBuilder.Append($"{VerticalLine.ToString().PadRight(newDecider, ' ')}Sudoku{"".PadRight(newDecider, ' ')}");
            stringBuilder.Append($"{VerticalLine}");
            stringBuilder.AppendLine();
            string splitter = VerticalJointLeft.ToString().PadRight(stringBuilder.Length - 3, HorizontalLine);

            stringBuilder.Append(VerticalJointLeft);
            for (int j = 0; j < width; j++)
            {
                stringBuilder.Append($"{HorizontalLine}".PadRight(deciderWidth * 2 - 1, HorizontalLine) + HorizontalJointTop);
            }
            stringBuilder.Insert(0, splitter + RightTop + Environment.NewLine);
            stringBuilder.Remove(0, 1);
            stringBuilder.Insert(0, LeftTop);
            stringBuilder.Replace(HorizontalJointTop, VerticalJointRight, stringBuilder.Length - 1, 1);
            stringBuilder.AppendLine();

            for (int x = 0; x < length; x++)
            {
                int y = 0;
                for (; y < width; y++)
                {
                    stringBuilder.Append(puzzle[x, y] == default
                        ? $"{VerticalLine}".PadRight(deciderWidth * 2, ' ')
                        : $"{VerticalLine}".PadRight(deciderWidth, ' ') +
                                         $"{puzzle[x, y]}".PadRight(deciderWidth, ' '));
                }
                if (x >= length - 1 && y >= width - 1)
                {
                    stringBuilder.AppendLine(VerticalLine.ToString());
                    continue;
                }
                stringBuilder.AppendLine(VerticalLine.ToString());
                stringBuilder.Append($"{VerticalJointLeft}".PadRight(deciderWidth * 2, HorizontalLine));
                for (int j = 1; j < width; j++)
                {
                    stringBuilder.Append($"{Joint}".PadRight(deciderWidth * 2, HorizontalLine));
                }
                stringBuilder.AppendLine(VerticalJointRight.ToString());
            }

            stringBuilder.Append(LeftBottom);
            for (int j = 0; j < width; j++)
            {
                stringBuilder.Append($"{HorizontalLine}".PadRight(deciderWidth * 2 - 1, HorizontalLine) + HorizontalJointBottom);
            }
            stringBuilder.Replace(HorizontalJointBottom, RightBottom, stringBuilder.Length - 1, 1);
            stringBuilder.AppendLine();
            return(stringBuilder.ToString());
        }
示例#19
0
        private void DrawObsSpecGraph()
        {
            plotObsSpectrum.Clear();

            // add masks;
            int num = lbRanges.SelectedIndex;

            for (int i = 0; i < cutMask.Size(); i++)
            {
                NPlot.VerticalLine vl1 = new VerticalLine(this.cutMask.GetLeftBound(i));
                NPlot.VerticalLine vl2 = new VerticalLine(this.cutMask.GetRightBound(i));
                NPlot.FilledRegion fr  = new FilledRegion(vl1, vl2);
                fr.Brush = Brushes.Coral;
                if (num == i)
                {
                    fr.Brush = Brushes.Gray;
                }
                plotObsSpectrum.Add(fr);
            }

            // add observed spectrum;
            if (this.obsSpectrum != null)
            {
                LinePlot lp = new LinePlot();
                lp.AbscissaData = this.obsSpectrum.LambdaSet;
                lp.OrdinateData = this.obsSpectrum.FluxSet;
                lp.Pen          = new Pen(Color.Black, 1.0f);
                plotObsSpectrum.Add(lp);
            }

            // add continum;
            if (this.contSpectrum != null)
            {
                LinePlot lpCont = new LinePlot(this.contSpectrum.FluxSet, this.contSpectrum.LambdaSet);
                lpCont.Pen = new Pen(Color.Red, 2.0f);
                plotObsSpectrum.Add(lpCont);
            }

            // add rejected points;
            if (this.rejectSpectrum != null && this.rejectSpectrum.Size > 0)
            {
                PointPlot ppRej = new PointPlot();
                ppRej.AbscissaData = this.rejectSpectrum.LambdaSet;
                ppRej.OrdinateData = this.rejectSpectrum.FluxSet;
                ppRej.Marker       = new Marker(Marker.MarkerType.Diamond, 4, Color.Red);
                plotObsSpectrum.Add(ppRej);
            }

            plotObsSpectrum.Title        = "Observed spectrum";
            plotObsSpectrum.YAxis1.Label = "Flux";
            plotObsSpectrum.XAxis1.Label = "Lambda";

            plotObsSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.HorizontalDrag());
            plotObsSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.VerticalDrag());
            plotObsSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.AxisDrag(true));

            plotObsSpectrum.Refresh();
        }
示例#20
0
        private void DrawNormSpecGraph()
        {
            LinePlot lpTemp = new LinePlot();

            plotTemplateSpectrum.Clear();

            // add masks;
            int num = lbRanges.SelectedIndex;

            for (int i = 0; i < cutMask.Size(); i++)
            {
                NPlot.VerticalLine vl1 = new VerticalLine(this.cutMask.GetLeftBound(i));
                NPlot.VerticalLine vl2 = new VerticalLine(this.cutMask.GetRightBound(i));
                NPlot.FilledRegion fr  = new FilledRegion(vl1, vl2);
                fr.Brush = Brushes.Coral;
                if (num == i)
                {
                    fr.Brush = Brushes.Aqua;
                }
                plotTemplateSpectrum.Add(fr);
            }

            // add normalized observed spectrum;
            if (this.normSpectrum != null)
            {
                LinePlot lpObsNorm = new LinePlot();
                lpObsNorm.Color        = Color.Red;
                lpObsNorm.AbscissaData = this.normSpectrum.LambdaSet;
                lpObsNorm.OrdinateData = this.normSpectrum.FluxSet;
                plotTemplateSpectrum.Add(lpObsNorm);
            }

            // add normalized template spectrum;
            if (this.temCutSpectrum != null)
            {
                lpTemp.Color        = Color.Blue;
                lpTemp.AbscissaData = this.temCutSpectrum.LambdaSet;
                lpTemp.OrdinateData = this.temCutSpectrum.FluxSet;
                plotTemplateSpectrum.Add(lpTemp);
            }

            // add horizontal line;
            NPlot.HorizontalLine hl = new HorizontalLine(1.0, Color.DarkGray);
            plotTemplateSpectrum.Add(hl);


            plotTemplateSpectrum.XAxis1.WorldMax = this.cropLambdaMax;
            plotTemplateSpectrum.XAxis1.WorldMin = this.cropLambdaMin;
            plotTemplateSpectrum.Title           = "Normalized spectrum";
            plotTemplateSpectrum.YAxis1.Label    = "Norm. Flux";
            plotTemplateSpectrum.XAxis1.Label    = "Wavelength";

            plotTemplateSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.HorizontalDrag());
            plotTemplateSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.VerticalDrag());
            plotTemplateSpectrum.AddInteraction(new NPlot.Windows.PlotSurface2D.Interactions.AxisDrag(true));

            plotTemplateSpectrum.Refresh();
        }
示例#21
0
 protected override void Init()
 {
     _values = CreateSeries <double>();
     Print("TotalPeriod: {0}", TotalPeriod);
     vlR       = Tools.Create <VerticalLine>();
     vlR.Color = Color.Red;
     vlB       = Tools.Create <VerticalLine>();
     vlB.Color = Color.Blue;
 }
示例#22
0
        private void addVerticalLine(double value)
        {
            VerticalLine vl = new VerticalLine();

            vl.Value           = value;
            vl.Stroke          = new SolidColorBrush(Colors.Green);
            vl.StrokeThickness = 1;
            vl.ToolTip         = value.ToString();
            this.chart.Children.Add(vl);
        }
示例#23
0
 protected override void Init()
 {
     trueLogPath       = PathToLogFile + "\\" + LogFileName + ".LOG";
     _wprInd3          = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
     _wprInd3.ExtDepth = 5;
     _ftoInd           = GetIndicator <FisherTransformOscillator>(Instrument.Id, Timeframe);
     vy       = Tools.Create <VerticalLine>();
     vy.Color = Color.Red;
     vb       = Tools.Create <VerticalLine>();
     vb.Color = Color.Blue;
 }
示例#24
0
 protected override void Init()
 {
     trueLogPath = PathToLogFile + "\\" + LogFileName + ".LOG";
     Line1       = Tools.Create <HorizontalLine>();
     Line2       = Tools.Create <HorizontalLine>();
     V1          = Tools.Create <VerticalLine>();
     V1.Color    = Color.Red; V1.Width = 3;
     V2          = Tools.Create <VerticalLine>();
     V2.Color    = Color.Blue; V2.Width = 3;
     XXPrint("НИЗ ПАРА ДАТА ЧАС ДЕЛЬТА TP SL BarTP BarSL");
 }
示例#25
0
 protected override void Init()
 {
     _wprInd3           = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
     _wprInd3.ExtDepth  = ED3;
     _wprInd50          = GetIndicator <ZigZag>(Instrument.Id, Timeframe);
     _wprInd50.ExtDepth = ED50;
     vy       = Tools.Create <VerticalLine>();
     vy.Color = Color.Yellow;
     vb       = Tools.Create <VerticalLine>();
     vb.Color = Color.Blue;
 }
示例#26
0
 protected override void Init()
 {
     // Event occurs once at the start of the strategy
     Print("Starting TS on account: {0}, comment: {1}", this.Account.Number, CommentText);
     _stoInd   = GetIndicator <StochasticOscillator>(Instrument.Id, Timeframe);
     _ftoInd   = GetIndicator <FisherTransformOscillator>(Instrument.Id, Timeframe);
     vlR       = Tools.Create <VerticalLine>();
     vlR.Color = Color.Red;
     vlB       = Tools.Create <VerticalLine>();
     vlB.Color = Color.Blue;
 }
示例#27
0
 protected override void Init()
 {
     // Event occurs once at the start of the strategy
     Print("Starting TS on account: {0}, comment: {1}", this.Account.Number, CommentText);
     vlR       = Tools.Create <VerticalLine>();
     vlR.Color = Color.Red;
     vlB       = Tools.Create <VerticalLine>();
     vlB.Color = Color.Blue;
     _period   = Timeframe;
     _ma1      = GetIndicator <MovingAverage>(Instrument.Id, _period, PeriodMA1, ShiftMA1, MethodMA1, ApplyMA1To);
     _ma2      = GetIndicator <MovingAverage>(Instrument.Id, _period, PeriodMA2, ShiftMA2, MethodMA2, ApplyMA2To);
 }
        public LineInstaller()
        {
            _shapes = new List <Shape>();

            HorizontalLine upLine    = new HorizontalLine(0, 0, '-', 120);
            HorizontalLine downLine  = new HorizontalLine(0, 20, '-', 120);
            VerticalLine   leftLine  = new VerticalLine(0, 1, '|', 20);
            VerticalLine   rightLine = new VerticalLine(119, 1, '|', 20);

            _shapes.AddRange(new List <Shape> {
                upLine, downLine, leftLine, rightLine
            });
        }
示例#29
0
            public static _Rectangle Intersect(_Rectangle rectangle1, _Rectangle rectangle2)
            {
                HorizontalLine horizontal;
                VerticalLine   vertical;

                horizontal = HorizontalLine.Intersect(rectangle1.Horizontal, rectangle2.Horizontal);
                if (horizontal.IsEmpty)
                {
                    return(Empty);
                }
                vertical = VerticalLine.Intersect(rectangle1.Vertical, rectangle2.Vertical);
                return(vertical.IsEmpty ? Empty : new _Rectangle(horizontal, vertical));
            }
示例#30
0
        static void Main(string[] args)
        {
            var root = new RootWindow();

            var dialog = new Dialog(root)
            {
                Text = "Hello World!", Width = 60, Height = 32, Top = 4, Left = 4, Border = BorderStyle.Thick
            };

            new Label(dialog)
            {
                Text = "This is a dialog!", Top = 2, Left = 2
            };
            var button = new Button(dialog)
            {
                Text = "Oooooh", Top = 4, Left = 6
            };
            var button2 = new Button(dialog)
            {
                Text = "Click", Top = 4, Left = 18
            };
            var list = new ListBox(dialog)
            {
                Top = 10, Left = 4, Width = 32, Height = 6, Border = BorderStyle.Thin
            };
            var line = new VerticalLine(dialog)
            {
                Top = 4, Left = 40, Width = 1, Height = 6, Border = BorderStyle.Thick
            };

            var dialog2 = new Dialog(root)
            {
                Text = "ooooh", Width = 32, Height = 5, Top = 6, Left = 6, Border = BorderStyle.Thick, Visible = false
            };
            var button3 = new Button(dialog2)
            {
                Text = "Bye!", Width = 8, Height = 3, Top = 1, Left = 1
            };

            button3.Clicked += (s, e) => { dialog2.Hide(); dialog.Show(); };
            button2.Clicked += (s, e) => { dialog.Hide(); dialog2.Show(); };

            for (var i = 0; i < 25; i++)
            {
                list.Items.Add("Item " + i.ToString());
            }

            button.Clicked += button_Clicked;

            root.Run();
        }
示例#31
0
        public Walls(int mapWeight, int mapHeight)
        {
            wallList = new List<Figure>();

              HorizontalLine gorLineTop = new HorizontalLine(0, mapWeight -2, 0, '+');
              HorizontalLine gorLineBottom = new HorizontalLine(0, mapWeight, mapHeight -1, '+');
              VerticalLine verLineLeft = new VerticalLine(0, 0, mapHeight - 1, '+');
              VerticalLine verLineRight = new VerticalLine(mapWeight - 2,0, mapHeight - 1, '+');

              wallList.Add(gorLineTop);
              wallList.Add(gorLineBottom);
              wallList.Add(verLineLeft);
              wallList.Add(verLineRight);
        }