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.types.SpawnContext>
#include <helios.engine.runtime.spawn.types.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:
16using namespace helios::engine::runtime::spawn::types;
17export namespace helios::engine::runtime::spawn::behavior::placements {
30 class RandomSpawnPlacer final : public SpawnPlacer {
32 helios::util::Random rGen_{12345};
48 const helios::engine::ecs::EntityHandle& entityHandle,
49 const helios::math::aabbf& gameObjectBounds,
50 const helios::math::aabbf& environmentBounds,
51 const SpawnPlanCursor& cursor,
52 const SpawnContext& spawnContext
59 return helios::math::vec3f{xPos, yPos, 0.0f};
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.