SpawnCommand.ixx File
Command for requesting GameObject spawning from a pool. More...
Included Headers
#include <cassert>
#include <cinttypes>
#include <expected>
#include <helios.math.types>
#include <helios.engine.runtime.spawn.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | runtime |
|
Runtime infrastructure for game execution and lifecycle orchestration. More... | |
| namespace | spawn |
|
Entity spawning infrastructure for the helios engine. More... | |
| namespace | commands |
|
Commands for spawn and despawn operations. More... | |
Classes Index
| class | SpawnCommand |
|
Command to request spawning of GameObjects from a pool. More... | |
Description
Command for requesting GameObject spawning from a pool.
File Listing
The file content with the documentation metadata removed is:
18using namespace helios::engine::runtime::spawn::types;
19export namespace helios::engine::runtime::spawn::commands {
36 class SpawnCommand {
46 SpawnProfileId spawnProfileId_;
51 SpawnContext spawnContext_;
62 explicit SpawnCommand(
63 const SpawnProfileId spawnProfileId,
64 const SpawnContext& spawnContext,
65 const size_t spawnBudget = 1
67 spawnProfileId_(spawnProfileId),
68 spawnContext_(spawnContext),
69 spawnBudget_(spawnBudget)
78 [[nodiscard]] SpawnProfileId spawnProfileId() const noexcept {
87 [[nodiscard]] size_t spawnBudget() const noexcept {
96 [[nodiscard]] SpawnContext spawnContext() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.