Type Alias SharedTime
pub type SharedTime = Arc<RwLock<Time>>;Expand description
Shared, interior-mutable handle to the engine’s Time resource.
Registered in Runtime::resources under this type so
the scheduler can publish a fresh Time each frame (write lock) while
Flows and game code read it (read lock).
Aliased Type§
pub struct SharedTime { /* private fields */ }