Abstraction and serialization for entities

This commit is contained in:
Andrew nuark G 2020-12-15 20:17:46 +07:00
parent 5cb96fb793
commit 48ad2f1817
13 changed files with 106 additions and 12 deletions

12
entities/IEntity.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef IENTITY_H
#define IENTITY_H
#include "ISerializable.h"
class IEntity : public ISerializable {
public:
virtual unsigned long long id() = 0;
};
#endif // IENTITY_H