A | |
| add_component [Ent] | add_component e (component_type, component_data)
|
| add_entities [Ent] | |
| add_entity [Ent] | |
| add_entity_id [Ent] |
same than
add_entity but also return the id that was given to this entity
|
| add_system [Ent] | |
F | |
| fold_entities [Ent] | |
G | |
| get_component [Ent] |
raises Not_found if none found
|
| get_component_opt [Ent] | |
| get_entity [Ent] | |
| get_entity_opt [Ent] |
get an entity by its id
|
| get_id [Ent] |
raises an exception if the entity has not been added to the world
|
| get_id_opt [Ent] |
same than
get_id but returns None instead of raising an exception
|
H | |
| has_component [Ent] | |
I | |
| iter_entities [Ent] | |
N | |
| new_entity [Ent] |
generic game element
|
| new_world [Ent] | |
| num_entities [Ent] | |
R | |
| replace_component [Ent] | replace_component e component_type component_data
|
W | |
| world_step [Ent] | delta is the amount of time spent since last call to world_step
|