|
|
EntityId | CreateEntity () |
| |
|
void | DestroyEntity (EntityId entityId) |
| |
|
bool | IsAlive (EntityId entityId) const |
| |
|
std::vector< EntityId > | GetEntities () const |
| |
|
template<typename T , typename... Args> |
| T & | AddComponent (EntityId entityId, Args &&... args) |
| |
|
template<typename T > |
| void | RemoveComponent (EntityId entityId) |
| |
|
template<typename T > |
| bool | HasComponent (EntityId entityId) const |
| |
|
template<typename T > |
| void | RegisterComponent (std::string_view serializationName) |
| |
|
template<typename T > |
| T & | GetComponent (EntityId entityId) |
| |
|
template<typename T > |
| const T & | GetComponent (EntityId entityId) const |
| |
|
template<typename T > |
| const SparseSet< T > & | GetComponentSet () const |
| |
|
template<typename T , typename Func > |
| void | Each (Func &&func) |
| |
|
template<typename T , typename Func > |
| void | Each (Func &&func) const |
| |
|
template<typename T , typename U , typename Func > |
| void | Each (Func &&func) |
| |
|
template<typename T , typename U , typename Func > |
| void | Each (Func &&func) const |
| |
The documentation for this class was generated from the following files:
- engine/include/pixelbullet/scene/scene.h
- engine/src/scene/scene.cc