-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
41 lines (26 loc) · 764 Bytes
/
main.cpp
File metadata and controls
41 lines (26 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include <stdio.h>
#include "visualizer.h"
#include <iostream>
#include <vector>
#include "coord.h"
#include "carte.h"
#include "salle.h"
#include "plan.h"
using namespace std;
int main(int argc, char** argv )
{
Carte carte;
vector<Salle> listeSalle = Plan::DessinerPlan1(carte);
Visualizer v;
v.ChargerCarte(carte);
// for (int i = 0; i < listeSalle.size(); ++i)
// cout << listeSalle[i].centre.x << " " << listeSalle[i].centre.y << endl;
vector<Coord> vec = carte.algo(listeSalle[8].centre, listeSalle[6].centre);
v.AfficherChemin(vec);
// Initialiser la carte et les informations
// Loop sur nos faux meetings
// Creer une route
// Afficher la route
// ? Update en suivant l'employe
return 0;
}