modif d01 ex03 weapon gettype return ref sur const string, d02 ex02 fini
This commit is contained in:
@@ -11,8 +11,8 @@ public:
|
||||
Weapon( std::string type );
|
||||
~Weapon();
|
||||
|
||||
std::string getType() const;
|
||||
void setType( std::string type );
|
||||
std::string const & getType() const;
|
||||
void setType( std::string type );
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user