add pointer

add "dynamic" heap array
add polymorphic
This commit is contained in:
2025-03-26 12:44:05 +01:00
parent abb1ea4a38
commit 4b6ac6a484
13 changed files with 339 additions and 1 deletions
+4
View File
@@ -7,6 +7,10 @@ Monster::Monster(int strength) : Entity("My Monster"), _strength(strength)
this->name = "My Monster";
}
Monster::~Monster()
{
}
//Monster Monster::Create(Monsters type)
//{
// Monster monster;