Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            endPoint       = new Point(7.75, 135);
            endOrientation = 0;

            //task = new Task(new Point(100, 100), 180, endPoint, endOrientation);
            car = new Car(new Point(27.75, 214.4), 180);
            map = new Map();

            solver = new ParkingSolver(2, 10, endPoint, endOrientation, map);


            painter = new CarPainter(canvas);
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();

            endPoint       = new Point(793, 404);
            endOrientation = 180;

            //task = new Task(new Point(100, 100), 180, endPoint, endOrientation);
            car = new Car(new Point(444.4, 404), 0);
            map = new Map();

            solver = new ParkingSolver(5, 10, endPoint, endOrientation, map);


            painter = new CarPainter(canvas);
        }