19 lines
332 B
C++
19 lines
332 B
C++
#include "Monster.h"
|
|
|
|
Monster::Monster(int strength) : Entity("My Monster"), _strength(strength)
|
|
{
|
|
this->name = "My Monster";
|
|
}
|
|
|
|
std::string Monster::ToString()
|
|
{
|
|
return name + " " + "(" + std::to_string(_strength) + ")";
|
|
// TODO: show format
|
|
}
|
|
|
|
int Monster::Compare(ICompareable* other)
|
|
{
|
|
// TODO: implement later
|
|
return 0;
|
|
}
|