Add docs for entities

This commit is contained in:
Andrew nuark G 2021-01-10 20:51:06 +07:00
parent 5c1f937793
commit 4bbb286981
7 changed files with 359 additions and 2 deletions

View file

@ -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;
};