-
Notifications
You must be signed in to change notification settings - Fork 0
/
EtatRobot.cpp
61 lines (47 loc) · 1.04 KB
/
EtatRobot.cpp
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
Implementation des méthodes de EtatRobot.h
auteurs : Molinengo/Soumille
date : Nov 2015
*/
#include "EtatRobot.h"
#include "EtatRobotAVide.h"
//singleton
EtatRobot * EtatRobot::_etatRobotInitial;
EtatRobot * EtatRobot::getEtatInitial(){
_etatRobotInitial = EtatRobotAVide::getInstance();
return _etatRobotInitial;
}
EtatRobot * EtatRobot::saisir(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::avancer(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::tourner(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::poser(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::peser(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::rencontrerPlot(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::figer(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::repartir(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::evaluerPlot(){
throw UnavailableFunction();
}
EtatRobot * EtatRobot::afficher(){
throw UnavailableFunction();
}
//getter
string EtatRobot::getName(){
return _name;
}