Add docs for entities
This commit is contained in:
parent
5c1f937793
commit
4bbb286981
7 changed files with 359 additions and 2 deletions
|
|
@ -4,10 +4,20 @@
|
|||
#include "ISerializable.h"
|
||||
|
||||
|
||||
//! Alias type for any entity ID
|
||||
typedef unsigned long long entity_id;
|
||||
|
||||
/**
|
||||
* @brief Base interface for all entities
|
||||
*
|
||||
*/
|
||||
class IEntity : public ISerializable {
|
||||
public:
|
||||
/**
|
||||
* @brief Getter function for entity identificator
|
||||
*
|
||||
* @return entity_id entity identficator
|
||||
*/
|
||||
virtual entity_id id() const = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue