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
+3 -1
View File
@@ -4,7 +4,9 @@
class Ork : public Monster
{
public:
Ork();
Ork(); // default constructor
Ork(const Ork&); // copy constructor
~Ork(); // destructor
void Move() override;
};