Definition at line 33 of file Entity.h.
◆ ~Entity()
| virtual hellfire::Entity::~Entity |
( |
| ) |
|
|
virtualdefault |
◆ Entity() [1/2]
| hellfire::Entity::Entity |
( |
const EntityID |
id, |
|
|
const std::string & |
name |
|
) |
| |
|
inlineexplicit |
◆ Entity() [2/2]
| hellfire::Entity::Entity |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ add_component() [1/3]
template<ComponentType T, typename... Args>
| T * hellfire::Entity::add_component |
( |
Args &&... |
args | ) |
|
◆ add_component() [2/3]
template<ComponentType T, typename... Args>
| T * hellfire::Entity::add_component |
( |
Args &&... |
args | ) |
|
◆ add_component() [3/3]
template<ComponentType T, typename... Args>
| T * hellfire::Entity::add_component |
( |
Args &&... |
args | ) |
|
◆ broadcast_event()
| void hellfire::Entity::broadcast_event |
( |
const std::string & |
event_name, |
|
|
void * |
data = nullptr |
|
) |
| const |
◆ cleanup_scripts()
| void hellfire::Entity::cleanup_scripts |
( |
| ) |
const |
◆ get_component() [1/3]
template<ComponentType T>
| T * hellfire::Entity::get_component |
( |
| ) |
const |
◆ get_component() [2/3]
template<ComponentType T>
| T * hellfire::Entity::get_component |
( |
| ) |
const |
◆ get_component() [3/3]
template<ComponentType T>
| T * hellfire::Entity::get_component |
( |
| ) |
const |
◆ get_id()
| uint32_t hellfire::Entity::get_id |
( |
| ) |
const |
|
inline |
◆ get_name()
| const std::string & hellfire::Entity::get_name |
( |
| ) |
const |
|
inline |
◆ get_script_components()
| const std::vector< ScriptComponent * > & hellfire::Entity::get_script_components |
( |
| ) |
const |
◆ has_component()
template<ComponentType T>
| bool hellfire::Entity::has_component |
( |
| ) |
const |
|
inline |
◆ initialize_scripts()
| void hellfire::Entity::initialize_scripts |
( |
| ) |
const |
◆ remove_component() [1/3]
template<ComponentType T>
| bool hellfire::Entity::remove_component |
( |
| ) |
|
◆ remove_component() [2/3]
template<ComponentType T>
| bool hellfire::Entity::remove_component |
( |
| ) |
|
◆ remove_component() [3/3]
template<ComponentType T>
| bool hellfire::Entity::remove_component |
( |
| ) |
|
◆ send_event_to_script() [1/3]
template<ScriptComponentType T>
| void hellfire::Entity::send_event_to_script |
( |
const std::string & |
event_name, |
|
|
void * |
data |
|
) |
| |
◆ send_event_to_script() [2/3]
template<ScriptComponentType T>
| void hellfire::Entity::send_event_to_script |
( |
const std::string & |
event_name, |
|
|
void * |
data |
|
) |
| |
◆ send_event_to_script() [3/3]
template<ScriptComponentType T>
| void hellfire::Entity::send_event_to_script |
( |
const std::string & |
event_name, |
|
|
void * |
data = nullptr |
|
) |
| |
◆ set_name()
| void hellfire::Entity::set_name |
( |
const std::string & |
name | ) |
|
|
inline |
◆ transform() [1/2]
◆ transform() [2/2]
◆ update_scripts()
| void hellfire::Entity::update_scripts |
( |
float |
delta_time | ) |
const |
◆ components_
| std::unordered_map<std::type_index, std::unique_ptr<Component> > hellfire::Entity::components_ |
|
private |
◆ id_
◆ name_
| std::string hellfire::Entity::name_ |
|
private |
◆ script_components_
The documentation for this class was generated from the following files: