Abstraction and serialization for entities
This commit is contained in:
parent
5cb96fb793
commit
48ad2f1817
13 changed files with 106 additions and 12 deletions
12
entities/IEntity.h
Normal file
12
entities/IEntity.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue