mise en page

This commit is contained in:
lenovo
2022-12-09 13:39:46 +01:00
parent c91d23a5d4
commit fecde1a8b1
12 changed files with 104 additions and 45 deletions

View File

@@ -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;