RandomSpawnPlacer.ixx File
Placer that spawns entities at random positions within bounds. More...
Included Headers
#include <helios.engine.ecs.EntityHandle>
#include <helios.math>
#include <helios.util.Random>
#include <helios.engine.runtime.spawn.behavior.SpawnPlacer>
#include <helios.engine.runtime.spawn.SpawnContext>
#include <helios.engine.runtime.spawn.SpawnPlanCursor>
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 | behavior |
|
Spawn behavior strategies for positioning and initializing entities. More... | |
| namespace | placements |
|
Concrete SpawnPlacer implementations. More... | |
Classes Index
| class | RandomSpawnPlacer |
|
Placer that spawns entities at random positions within bounds. More... | |
Description
Placer that spawns entities at random positions within bounds.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::runtime::spawn::behavior::placements {
29 class RandomSpawnPlacer final : public SpawnPlacer {
45 const helios::engine::ecs::EntityHandle& entityHandle,
46 const helios::math::aabbf& gameObjectBounds,
47 const helios::math::aabbf& environmentBounds,
48 const SpawnPlanCursor& cursor,
49 const SpawnContext& spawnContext
52 static auto rGen = helios::util::Random(12345);
57 return helios::math::vec3f{xPos, yPos, 0.0f};
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.