Added: C++ projects

This commit is contained in:
2026-09-29 22:09:02 +02:00
parent 11929bad68
commit 0af79b3686
32 changed files with 1397 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
//
// Created by David Hackbarth on 21.09.26.
//
#include "Ork.h"
#include <iostream>
using namespace std;
Ork::Ork(string name) : Monster(name)
{
cout << "Ork constructor with name called" << endl;
}
Ork::~Ork()
{
cout << "Ork destructor called" << endl;
}
string Ork::toString()
{
return "Ork: " + _name;
}
void Ork::testMethod()
{
cout << "testMethod called" << endl;
}