SpawnConfig.ixx File
Configuration for spawn system integration. More...
Included Headers
#include <helios.engine.mechanics.spawn.components>
#include <helios.engine.ecs.GameObject>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | builder |
|
Fluent builder pattern for constructing GameObjects. More... | |
| namespace | gameObject |
|
Factory and prototype classes for GameObject construction. More... | |
| namespace | builders |
|
Domain-specific builders for configuring different aspects of GameObjects. More... | |
| namespace | configs |
|
Fine-grained configuration classes for component setup. More... | |
Classes Index
| class | SpawnConfig |
|
Fluent configuration for spawn system integration. More... | |
Description
Configuration for spawn system integration.
File Listing
The file content with the documentation metadata removed is:
13export namespace helios::engine::builder::gameObject::builders::configs {
21 class SpawnConfig {
26 helios::engine::ecs::GameObject gameObject_;
35 explicit SpawnConfig(helios::engine::ecs::GameObject gameObject) : gameObject_(gameObject) {}
45 SpawnConfig& useSpawnProfile() {
46 gameObject_.add<helios::engine::mechanics::spawn::components::SpawnedByProfileComponent>();
59 SpawnConfig& trackEmitter() {
60 gameObject_.add<helios::engine::mechanics::spawn::components::EmittedByComponent>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.