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.
//
#ifndef CLASSES_ENTITY_H
#define CLASSES_ENTITY_H
#include <string>
using namespace std;
class Entity
{
public:
Entity(); // declared
Entity(string name); // declared
virtual ~Entity();
virtual string toString();
void setName(string name);
protected:
string _name = "";
private:
}; // IMPORTANT: don't forget the semicolon
#endif //CLASSES_ENTITY_H