Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_NameSpaces / src / cpp / core / namespace / 02_classes / bd / PersonnageBD.h
1 #ifndef PERSONNAGE_BD_H_
2 #define PERSONNAGE_BD_H_
3
4 #include "Invention.h"
5 #include <string>
6
7 using std::string;
8
9 /*----------------------------------------------------------------------*\
10 |* Declaration *|
11 \*---------------------------------------------------------------------*/
12
13 /*--------------------------------------*\
14 |* Public *|
15 \*-------------------------------------*/
16
17 namespace bd
18 {
19 /**
20 * Note : bd::Personnage peut deriver de Cartoon qui lui n'est pas dans un namespace
21 */
22 class Personnage: public Invention
23 {
24
25 /*-------------------------------------*\
26 |* Constructor *|
27 \*-------------------------------------*/
28
29 public:
30
31 Personnage(string name,string inventeur);
32
33 virtual ~Personnage();
34
35 /*-------------------------------------*\
36 |* Methode *|
37 \*-------------------------------------*/
38
39 public:
40
41 string getName() const;
42
43 /*-------------------------------------*\
44 |* Attributs *|
45 \*-------------------------------------*/
46
47 private:
48
49 //Input
50 string name;
51 };
52 }
53 #endif
54
55 /*----------------------------------------------------------------------*\
56 |* End *|
57 \*---------------------------------------------------------------------*/