Skip to main content

Module app

Module app 

Source
Expand description

Default gameplay runtime surface for new Cougr projects.

Re-exports§

pub use super::CommandQueue;
pub use super::GameApp;
pub use super::Plugin;
pub use super::PluginGroup;
pub use super::Resource;
pub use super::ResourceTrait;
pub use super::RuntimeWorld;
pub use super::RuntimeWorldMut;
pub use super::ScheduleError;
pub use super::ScheduleStage;
pub use super::SimpleQuery;
pub use super::SimpleQueryBuilder;
pub use super::SimpleScheduler;
pub use super::SimpleWorld;
pub use super::SystemConfig;
pub use super::SystemGroup;

Structs§

SystemContext
Execution context for the Soroban-first SimpleWorld system API.
SystemSpec
Declarative registration spec for the Soroban-first runtime system APIs.

Traits§

AppSystem
Marker trait for systems that participate in the Soroban-first app runtime.
SimpleSystem
System trait for the SimpleWorld/Soroban runtime.

Functions§

context_system
Wrap a FnMut(&mut SystemContext) closure as a runtime system.
named_app_system
Wrap a pre-built runtime system together with its registration name.
named_context_system
Wrap a context-aware closure together with its registration name.
named_system
Wrap a world/env closure together with its registration name.
world_system
Wrap a FnMut(&mut SimpleWorld, &Env) closure as a runtime system.