#include <entity.hpp>
|
| Entity (flecs::entity entity, const std::shared_ptr< Scene > &scene) |
|
template<typename T > |
auto | has_component () const -> bool |
|
template<typename T > |
auto | get_component () -> T & |
|
template<typename T , typename... Args> |
void | add_component (Args &&... args) |
|
◆ Entity()
wren::scene::Entity::Entity |
( |
flecs::entity | entity, |
|
|
const std::shared_ptr< Scene > & | scene ) |
|
inline |
◆ add_component()
template<typename T , typename... Args>
void wren::scene::Entity::add_component |
( |
Args &&... | args | ) |
|
◆ get_component()
template<typename T >
auto wren::scene::Entity::get_component |
( |
| ) |
-> T& |
◆ has_component()
template<typename T >
auto wren::scene::Entity::has_component |
( |
| ) |
const -> bool |
◆ entity_
flecs::entity wren::scene::Entity::entity_ |
|
private |
◆ scene_
std::shared_ptr<Scene> wren::scene::Entity::scene_ |
|
private |
The documentation for this class was generated from the following file: