Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_NameSpaces / src / cpp / core / namespace / 02_classes / bd / PersonnageBD.cpp
1 #include "PersonnageBD.h"
2
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 /*--------------------------------------*\
9 |* Public *|
10 \*-------------------------------------*/
11
12 /*--------------------------------------*\
13 |* Private *|
14 \*-------------------------------------*/
15
16 /*----------------------------------------------------------------------*\
17 |* Implementation *|
18 \*---------------------------------------------------------------------*/
19
20 /*--------------------------------------*\
21 |* Constructeur *|
22 \*-------------------------------------*/
23
24 /**
25 * On prefix le tout avec le namespace bd
26 * Il y a d'autres solutions, voir film,tele
27 */
28
29 bd::Personnage::Personnage(string name,string inventeur):Invention(inventeur)
30 {
31 this->name=name;
32 }
33
34 bd::Personnage::~Personnage()
35 {
36 //Nothing
37 }
38
39 /*--------------------------------------*\
40 |* Methode *|
41 \*-------------------------------------*/
42
43 string bd::Personnage::getName() const
44 {
45 return this->name;
46 }
47
48 /*--------------------------------------*\
49 |* Private *|
50 \*-------------------------------------*/
51
52 /*----------------------------------------------------------------------*\
53 |* End *|
54 \*---------------------------------------------------------------------*/
55