mise en page
This commit is contained in:
@@ -7,26 +7,33 @@
|
||||
class ASpell;
|
||||
|
||||
class ATarget {
|
||||
private:
|
||||
|
||||
private:
|
||||
std::string type;
|
||||
|
||||
public:
|
||||
ATarget() {
|
||||
};
|
||||
ATarget(ATarget const & other) {
|
||||
ATarget()
|
||||
{};
|
||||
ATarget(ATarget const & other)
|
||||
{
|
||||
*this = other;
|
||||
};
|
||||
ATarget & operator=(ATarget const & other) {
|
||||
ATarget & operator=(ATarget const & other)
|
||||
{
|
||||
this->type = other.type;
|
||||
return (*this);
|
||||
};
|
||||
ATarget(std::string const & type) {
|
||||
ATarget(std::string const & type)
|
||||
{
|
||||
this->type = type;
|
||||
};
|
||||
~ATarget() {};
|
||||
~ATarget()
|
||||
{};
|
||||
|
||||
std::string const & getType() const {return (this->type);};
|
||||
std::string const & getType() const
|
||||
{
|
||||
return (this->type);
|
||||
};
|
||||
|
||||
void getHitBySpell(ASpell const & aspell) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user