EmittedByComponent.ixx File
Component tracking the source entity that emitted a spawned object. More...
Included Headers
#include <helios.engine.ecs.EntityHandle>
#include <helios.util>
#include <helios.core.types>
#include <helios.engine.runtime.spawn.types.SpawnProfileId>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | mechanics |
|
High-level gameplay systems and components for game logic. More... | |
| namespace | spawn |
|
Entity spawning and lifecycle management. More... | |
| namespace | components |
|
Components for spawn-related entity tracking. More... | |
Classes Index
| class | EmittedByComponent |
|
Component that tracks which entity emitted/spawned this object. More... | |
Description
Component tracking the source entity that emitted a spawned object.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::mechanics::spawn::components {
26 class EmittedByComponent {
31 helios::engine::ecs::EntityHandle source_{};
66 EmittedByComponent() = default;
73 EmittedByComponent(const EmittedByComponent& other) {}
75 EmittedByComponent& operator=(const EmittedByComponent&) = default;
76 EmittedByComponent(EmittedByComponent&&) noexcept = default;
77 EmittedByComponent& operator=(EmittedByComponent&&) noexcept = default;
85 source_ = source;
93 [[nodiscard]] helios::engine::ecs::EntityHandle source() const noexcept {
101 source_ = helios::engine::ecs::EntityHandle{};
110 reset();
119 reset();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.