#include <entity.hpp>
◆ Entity() [1/2]
◆ Entity() [2/2]
jng::Entity::Entity |
( |
entt::entity |
handle, |
|
|
Scene & |
scene |
|
) |
| |
◆ addComponent()
template<typename Component , typename ... Args>
Component & jng::Entity::addComponent |
( |
Args &&... |
args | ) |
|
◆ addOrReplaceComponent()
template<typename Component , typename ... Args>
Component & jng::Entity::addOrReplaceComponent |
( |
Args &&... |
args | ) |
|
|
inline |
◆ getComponent() [1/2]
template<typename Component >
Component & jng::Entity::getComponent |
◆ getComponent() [2/2]
template<typename Component >
const Component & jng::Entity::getComponent |
◆ getGUID()
GUID jng::Entity::getGUID |
( |
| ) |
const |
◆ getOrAddComponent()
template<typename Component , typename ... Args>
Component & jng::Entity::getOrAddComponent |
( |
Args &&... |
args | ) |
|
|
inline |
◆ getScene()
Scene * jng::Entity::getScene |
( |
| ) |
|
|
inline |
◆ getTag()
const std::string & jng::Entity::getTag |
( |
| ) |
const |
◆ hasComponent()
template<typename Component >
bool jng::Entity::hasComponent |
◆ operator bool()
jng::Entity::operator bool |
( |
| ) |
|
|
inline |
◆ operator void *()
jng::Entity::operator void * |
( |
| ) |
|
|
inline |
◆ operator!=()
bool jng::Entity::operator!= |
( |
const Entity & |
other | ) |
const |
|
inline |
◆ operator==()
bool jng::Entity::operator== |
( |
const Entity & |
other | ) |
const |
|
inline |
◆ removeComponent()
template<typename Component >
void jng::Entity::removeComponent |
◆ Scene
The documentation for this class was generated from the following files: