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
@@ -11,6 +11,10 @@ Entity::Entity(std::string name) : name(name)
//this->name = name;
}
Entity::~Entity()
{
}
std::string Entity::ToString()
{
return name;