DefaultEngineStateTransitionGuards.ixx File
Default guard functions for game state transitions. More...
Included Headers
#include <cassert>
#include <helios.engine.state.types>
#include <helios.engine.runtime.enginestate.types>
#include <helios.engine.runtime.world.GameWorld>
#include <helios.engine.rendering.shader.components>
#include <helios.engine.runtime.world.Session>
#include <helios.engine.runtime.world.UpdateContext>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | runtime |
| namespace | enginestate |
| namespace | rules |
| namespace | guards |
Classes Index
| class | DefaultEngineStateTransitionGuards |
Description
Default guard functions for game state transitions.
File Listing
The file content with the documentation metadata removed is:
20using namespace helios::engine::runtime::enginestate::types;
21using namespace helios::engine::state::types;
22using namespace helios::engine::rendering::shader::components;
23export namespace helios::engine::runtime::enginestate::rules::guards {
26 class DefaultEngineStateTransitionGuards {
38 static bool isPlatformInitialized(
40 const StateTransitionRequest<EngineState> transitionRequest
42 return updateContext.runtimeEnvironment().isInitialized();
53 static bool isRuntimeInfrastructureReady(
55 const StateTransitionRequest<EngineState> transitionRequest
57 return updateContext.runtimeEnvironment().isRuntimeInfrastructureReady();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.