Entity::ID Class Reference
#include <Entity.h>
Description
Uniquely identifies an Entity.
Functions | |
uint64_t | Value () const |
Entity * | Identify () const |
const std::string & | String () const |
template<typename T > | |
T * | Query () |
template<typename T > | |
T * | IdentifyAs () const |
Member Function Documentation
|
inline |
Returns a value that unique ientifies the Entity.
const std::string& String | ( | ) | const |
Returns the ID in string form.
|
inline |
Convenience function for .Identify()->QueryComponent<T>()
Returns nullptr if there is no component or if this ID does not point to a valid
|
inline |
Same as Find, but casts it to the type you care about.
If the given type doesnt actually inherit from Entity, nullptr is returned.
The documentation for this class was generated from the following file:
- /home/jc/git/Dynacoe/DynacoeSrc/includes/Dynacoe/Entity.h