SchedulerBuilder.ixx File
Builder for configuring SpawnSchedulers within the spawn system. More...
Included Headers
#include <memory>
#include <array>
#include <utility>
#include <helios.engine.builder.spawnSystem.builders.configs>
#include <helios.engine.runtime.spawn.scheduling.DefaultSpawnScheduler>
#include <helios.engine.runtime.spawn.scheduling.SpawnScheduler>
#include <helios.engine.runtime.spawn.SpawnManager>
#include <helios.engine.runtime.spawn.scheduling.CyclicSpawnScheduler>
#include <helios.engine.runtime.spawn.types.SpawnRuleId>
#include <helios.engine.runtime.spawn.types.SpawnProfileId>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | builder |
|
Fluent builder pattern for constructing GameObjects. More... | |
| namespace | spawnSystem |
| namespace | builders |
Classes Index
| class | SchedulerBuilder |
|
Builder for configuring and registering SpawnSchedulers. More... | |
Description
Builder for configuring SpawnSchedulers within the spawn system.
File Listing
The file content with the documentation metadata removed is:
21export namespace helios::engine::builder::spawnSystem::builders {
29 class SchedulerBuilder {
34 helios::engine::runtime::spawn::SpawnManager& spawnManager_;
45 void addRules(Scheduler& scheduler, Configs&&... configs) {
58 explicit SchedulerBuilder(
59 helios::engine::runtime::spawn::SpawnManager& spawnManager
69 void defaultScheduler(Configs&&... configs) {
73 addRules(*scheduler, std::forward<Configs>(configs)...);
87 void cyclicScheduler(Configs&&... configs) {
93 addRules(*scheduler, std::forward<Configs>(configs)...);
103 void customScheduler(
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.