Files
2026-09-29 22:09:02 +02:00

30 lines
431 B
C++

//
// 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