#include <Registry.hpp>
Public Member Functions | |
EntityBuilder (Registry ®, Entity e) | |
template<typename T , typename... Args> | |
EntityBuilder & | with (Args &&...args) |
Entity | build () const |
Private Attributes | |
Registry & | m_registry |
Entity | m_entity |
Definition at line 35 of file Registry.hpp.
Definition at line 38 of file Registry.hpp.
|
inline |
Definition at line 46 of file Registry.hpp.
References m_entity.
|
inline |
Definition at line 40 of file Registry.hpp.
References ecs::Registry::addComponent(), m_entity, and m_registry.
Referenced by cli::CollisionSystem::createExplosion(), cli::ProjectileManager::createProjectile(), cli::WeaponSystem::showLoadingAnimation(), cli::SpawnSystem::spawnAsteroid(), cli::SpawnSystem::spawnEnemy(), and cli::SpawnSystem::spawnWave().
|
private |
Definition at line 50 of file Registry.hpp.
|
private |
Definition at line 49 of file Registry.hpp.
Referenced by with().