Skip to main content

SpawnPlan Struct

Data structure describing a planned spawn operation. More...

Declaration

struct helios::engine::runtime::spawn::scheduling::SpawnPlan { ... }

Public Member Attributes Index

const helios::engine::runtime::spawn::types::SpawnRuleIdspawnRuleId

The spawn rule that triggered this plan. More...

const size_tamount

Number of entities to spawn. More...

Description

Data structure describing a planned spawn operation.

SpawnPlan captures the essential information for a spawn request: which rule triggered it, how many entities to spawn, and from which pool. SpawnPlans are created by the SpawnScheduler when conditions are met.

See Also

SpawnScheduler

See Also

ScheduledSpawnPlan

See Also

SpawnRule

Definition at line 25 of file SpawnPlan.ixx.

Public Member Attributes

amount

const size_t helios::engine::runtime::spawn::scheduling::SpawnPlan::amount

Number of entities to spawn.

Definition at line 35 of file SpawnPlan.ixx.

35 const size_t amount;

spawnRuleId

const helios::engine::runtime::spawn::types::SpawnRuleId helios::engine::runtime::spawn::scheduling::SpawnPlan::spawnRuleId

The spawn rule that triggered this plan.

Definition at line 30 of file SpawnPlan.ixx.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.