Exemplo n.º 1
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 200; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 25; y < 190; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
                _hindernissen.Add(new Hindernis(195, y));
            }
            _hindernissen.Add(new Hindernis(5, 15));

            _uitgang = new Hindernis(195, 15);
            _hindernissen.Add(_uitgang);

            _hindernissen.Add(new Hindernis(70, 40));
            _hindernissen.Add(new Hindernis(80, 40));
            _hindernissen.Add(new Hindernis(90, 40));

            _hindernissen.Add(new Hindernis(110, 40));
            _hindernissen.Add(new Hindernis(120, 40));
            _hindernissen.Add(new Hindernis(130, 40));

            _hindernissen.Add(new Hindernis(70, 160));
            _hindernissen.Add(new Hindernis(80, 160));
            _hindernissen.Add(new Hindernis(90, 160));

            _hindernissen.Add(new Hindernis(110, 160));
            _hindernissen.Add(new Hindernis(120, 160));
            _hindernissen.Add(new Hindernis(130, 160));

            _hindernissen.Add(new Hindernis(40, 70));
            _hindernissen.Add(new Hindernis(40, 80));
            _hindernissen.Add(new Hindernis(40, 90));

            _hindernissen.Add(new Hindernis(40, 110));
            _hindernissen.Add(new Hindernis(40, 120));
            _hindernissen.Add(new Hindernis(40, 130));

            _hindernissen.Add(new Hindernis(160, 70));
            _hindernissen.Add(new Hindernis(160, 80));
            _hindernissen.Add(new Hindernis(160, 90));

            _hindernissen.Add(new Hindernis(160, 110));
            _hindernissen.Add(new Hindernis(160, 120));
            _hindernissen.Add(new Hindernis(160, 130));

            _hindernissen.Add(new Hindernis(60, 60));
            _hindernissen.Add(new Hindernis(60, 100));
            _hindernissen.Add(new Hindernis(60, 140));
            _hindernissen.Add(new Hindernis(100, 60));
            _hindernissen.Add(new Hindernis(100, 140));
            _hindernissen.Add(new Hindernis(140, 140));
            _hindernissen.Add(new Hindernis(140, 100));
            _hindernissen.Add(new Hindernis(140, 60));
        }
Exemplo n.º 2
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 200; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 25; y < 190; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
                _hindernissen.Add(new Hindernis(195, y));
            }
            _hindernissen.Add(new Hindernis(5, 15));

            _uitgang = new Hindernis(195, 15);
            _hindernissen.Add(_uitgang);

            _hindernissen.Add(new Hindernis(45, 25));
            _hindernissen.Add(new Hindernis(55, 35));
            _hindernissen.Add(new Hindernis(55, 45));
            _hindernissen.Add(new Hindernis(45, 55));
            _hindernissen.Add(new Hindernis(25, 45));
            _hindernissen.Add(new Hindernis(35, 55));

            _hindernissen.Add(new Hindernis(155, 25));
            _hindernissen.Add(new Hindernis(145, 35));
            _hindernissen.Add(new Hindernis(145, 45));
            _hindernissen.Add(new Hindernis(155, 55));
            _hindernissen.Add(new Hindernis(175, 45));
            _hindernissen.Add(new Hindernis(165, 55));

            _hindernissen.Add(new Hindernis(35, 145));
            _hindernissen.Add(new Hindernis(45, 145));
            _hindernissen.Add(new Hindernis(25, 155));
            _hindernissen.Add(new Hindernis(55, 155));
            _hindernissen.Add(new Hindernis(55, 165));
            _hindernissen.Add(new Hindernis(45, 175));

            _hindernissen.Add(new Hindernis(155, 145));
            _hindernissen.Add(new Hindernis(165, 145));
            _hindernissen.Add(new Hindernis(145, 155));
            _hindernissen.Add(new Hindernis(175, 155));
            _hindernissen.Add(new Hindernis(145, 165));
            _hindernissen.Add(new Hindernis(155, 175));
        }
Exemplo n.º 3
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 400; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 15; y < 180; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
                _hindernissen.Add(new Hindernis(395, y));
            }
            _hindernissen.Add(new Hindernis(395, 185));

            _uitgang = new Hindernis(5, 185);
            _hindernissen.Add(_uitgang);

            Maak_graf_1(new Point(35, 35));
            Maak_graf_1(new Point(75, 35));
            Maak_graf_1(new Point(115, 35));
            Maak_graf_1(new Point(155, 35));
            Maak_graf_1(new Point(195, 35));
            Maak_graf_1(new Point(235, 35));
            Maak_graf_1(new Point(275, 35));
            Maak_graf_1(new Point(315, 35));
            Maak_graf_1(new Point(355, 35));

            Maak_graf_2(new Point(35, 165));
            Maak_graf_2(new Point(75, 165));
            Maak_graf_2(new Point(115, 165));
            Maak_graf_2(new Point(155, 165));
            Maak_graf_2(new Point(195, 165));
            Maak_graf_2(new Point(235, 165));
            Maak_graf_2(new Point(275, 165));
            Maak_graf_2(new Point(315, 165));
            Maak_graf_2(new Point(355, 165));
        }
Exemplo n.º 4
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 200; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 25; y < 120; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
            }
            for (var y = 135; y < 190; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
            }

            for (var y = 25; y < 190; y += 10)
            {
                _hindernissen.Add(new Hindernis(195, y));
            }
            _hindernissen.Add(new Hindernis(5, 15));

            _uitgang = new Hindernis(195, 15);
            _hindernissen.Add(_uitgang);

            for (var x = 15; x < 180; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 55));
                _hindernissen.Add(new Hindernis(x, 95));
                _hindernissen.Add(new Hindernis(x, 135));
                _hindernissen.Add(new Hindernis(x, 175));
            }

            for (var x = 25; x < 190; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 35));
                _hindernissen.Add(new Hindernis(x, 75));
                _hindernissen.Add(new Hindernis(x, 115));
                _hindernissen.Add(new Hindernis(x, 155));
            }
        }
Exemplo n.º 5
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 135; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
            }

            for (var x = 145; x < 200; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
            }

            for (var x = 5; x < 200; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 15; y < 180; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
                _hindernissen.Add(new Hindernis(195, y));
            }
            _hindernissen.Add(new Hindernis(5, 185));

            _uitgang = new Hindernis(195, 185);
            _hindernissen.Add(_uitgang);

            _hindernissen.Add(new Hindernis(95, 95));
            _hindernissen.Add(new Hindernis(95, 105));
            _hindernissen.Add(new Hindernis(105, 95));
            _hindernissen.Add(new Hindernis(105, 105));
        }
Exemplo n.º 6
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 400; x += 10)
            {
                AddHindernis(x, 5);
                AddHindernis(x, 195);
            }

            for (var y = 15; y < 180; y += 10)
            {
                AddHindernis(5, y);
                AddHindernis(395, y);
            }
            AddHindernis(5, 185);

            _uitgang = AddHindernis(395, 185);

            AddHindernis(25, 165);
            AddHindernis(35, 175);

            AddHindernis(45, 25);
            AddHindernis(45, 35);
            AddHindernis(45, 45);
            AddHindernis(55, 25);
            AddHindernis(55, 35);
            AddHindernis(55, 45);

            AddHindernis(125, 35);
            AddHindernis(135, 35);
            AddHindernis(145, 35);
            AddHindernis(155, 35);
            AddHindernis(125, 45);
            AddHindernis(125, 55);
            AddHindernis(125, 65);
            AddHindernis(135, 65);
            AddHindernis(145, 65);
            AddHindernis(155, 65);

            AddHindernis(205, 95);
            AddHindernis(215, 95);
            AddHindernis(205, 105);
            AddHindernis(215, 105);
        }
Exemplo n.º 7
0
 private Hindernis AddHindernis(int x, int y)
 {
     var hindernis = new Hindernis(x, y);
     _hindernissen.Add(hindernis);
     return hindernis;
 }
Exemplo n.º 8
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 200; x += 10)
            {
                AddTegel(x, 5);
                AddTegel(x, 195);
            }

            for (var y = 15; y < 180; y += 10)
            {
                AddTegel(5, y);
                AddTegel(195, y);
            }
            AddTegel(5, 185);

            _uitgang = AddTegel(195, 185);

            AddTegel(65, 175);
            AddTegel(65, 165);

            AddTegel(25, 135);
            AddTegel(35, 135);
        }
Exemplo n.º 9
0
        private void MaakMuurRechts()
        {
            for (var y = 15; y < 95; y += 10)
            {
                _hindernissen.Add(new Hindernis(195, y));
            }

            for (var y = 105; y < 180; y += 10)
            {
                _hindernissen.Add(new Hindernis(195, y));
            }

            _uitgang = new Hindernis(195, 185);
            _hindernissen.Add(_uitgang);
        }
Exemplo n.º 10
0
        private void MaakHindernissen()
        {
            for (var i = 105; i < 200; i += 10)
            {
                MaakHindernis(i, 5);
                MaakHindernis(i, 295);
                MaakHindernis(5, i);
                MaakHindernis(295, i);
            }

            for (var i = 15; i < 110; i += 10)
            {
                MaakHindernis(i, 105);
                MaakHindernis(i, 195);
                MaakHindernis(i + 180, 105);
                MaakHindernis(i + 180, 195);
            }

            for (var i = 15; i < 100; i += 10)
            {
                MaakHindernis(105, i);
                MaakHindernis(195, i);
            }

            for (var i = 215; i < 290; i += 10)
            {
                MaakHindernis(105, i);
                MaakHindernis(195, i);
            }

            _uitgang = MaakHindernis(105, 205);
            MaakHindernis(195, 205);
        }
Exemplo n.º 11
0
 public Hindernis MaakHindernis(int x, int y)
 {
     var h = new Hindernis(x, y);
     _hindernissen.Add(h);
     return h;
 }
Exemplo n.º 12
0
        private void MaakHindernissen()
        {
            for (var x = 5; x < 400; x += 10)
            {
                _hindernissen.Add(new Hindernis(x, 5));
                _hindernissen.Add(new Hindernis(x, 195));
            }

            for (var y = 15; y < 180; y += 10)
            {
                _hindernissen.Add(new Hindernis(5, y));
                _hindernissen.Add(new Hindernis(395, y));
            }
            _hindernissen.Add(new Hindernis(395, 185));

            _uitgang = new Hindernis(5, 185);
            _hindernissen.Add(_uitgang);

            _hindernissen.Add(new Hindernis(45, 25));
            _hindernissen.Add(new Hindernis(55, 35));
            _hindernissen.Add(new Hindernis(55, 45));
            _hindernissen.Add(new Hindernis(45, 55));
            _hindernissen.Add(new Hindernis(25, 45));
            _hindernissen.Add(new Hindernis(35, 55));
            _hindernissen.Add(new Hindernis(355, 25));
            _hindernissen.Add(new Hindernis(345, 35));
            _hindernissen.Add(new Hindernis(345, 45));
            _hindernissen.Add(new Hindernis(355, 55));
            _hindernissen.Add(new Hindernis(375, 45));
            _hindernissen.Add(new Hindernis(365, 55));

            _hindernissen.Add(new Hindernis(155, 25));
            _hindernissen.Add(new Hindernis(145, 35));
            _hindernissen.Add(new Hindernis(145, 45));
            _hindernissen.Add(new Hindernis(155, 55));
            _hindernissen.Add(new Hindernis(175, 45));
            _hindernissen.Add(new Hindernis(165, 55));
            _hindernissen.Add(new Hindernis(155, 145));
            _hindernissen.Add(new Hindernis(165, 145));
            _hindernissen.Add(new Hindernis(145, 155));
            _hindernissen.Add(new Hindernis(175, 155));
            _hindernissen.Add(new Hindernis(145, 165));
            _hindernissen.Add(new Hindernis(155, 175));

            _hindernissen.Add(new Hindernis(245, 25));
            _hindernissen.Add(new Hindernis(255, 35));
            _hindernissen.Add(new Hindernis(255, 45));
            _hindernissen.Add(new Hindernis(245, 55));
            _hindernissen.Add(new Hindernis(225, 45));
            _hindernissen.Add(new Hindernis(235, 55));
            _hindernissen.Add(new Hindernis(235, 145));
            _hindernissen.Add(new Hindernis(245, 145));
            _hindernissen.Add(new Hindernis(225, 155));
            _hindernissen.Add(new Hindernis(255, 155));
            _hindernissen.Add(new Hindernis(255, 165));
            _hindernissen.Add(new Hindernis(245, 175));

            _hindernissen.Add(new Hindernis(35, 145));
            _hindernissen.Add(new Hindernis(45, 145));
            _hindernissen.Add(new Hindernis(25, 155));
            _hindernissen.Add(new Hindernis(55, 155));
            _hindernissen.Add(new Hindernis(55, 165));
            _hindernissen.Add(new Hindernis(45, 175));
            _hindernissen.Add(new Hindernis(355, 145));
            _hindernissen.Add(new Hindernis(365, 145));
            _hindernissen.Add(new Hindernis(345, 155));
            _hindernissen.Add(new Hindernis(375, 155));
            _hindernissen.Add(new Hindernis(345, 165));
            _hindernissen.Add(new Hindernis(355, 175));
        }