add pointer
add "dynamic" heap array add polymorphic
This commit is contained in:
@@ -6,6 +6,16 @@ Ork::Ork() : Monster(10)
|
||||
this->name = "My Ork";
|
||||
}
|
||||
|
||||
Ork::Ork(const Ork& other) : Monster(other._strength)
|
||||
{
|
||||
this->name = other.name;
|
||||
this->_speed = other._speed;
|
||||
}
|
||||
|
||||
Ork::~Ork()
|
||||
{
|
||||
}
|
||||
|
||||
void Ork::Move()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user