euv-engine 0.12.28

A high-performance 2D game engine built on the euv framework, featuring ECS, fixed-timestep game loop, canvas rendering, physics, collision detection, sprite animation, and audio.
Documentation
1
2
3
4
5
6
7
8
9
use super::*;

/// A reference-counted, shared-mutable scene trait object.
///
/// Holds a `dyn Scene` behind `EngineCell` (an `UnsafeCell`-backed
/// `Sync` newtype) so the storage matches the rest of the engine's
/// `static mut` convention. Use [`EngineCell::get_mut`] for
/// exclusive mutable access.
pub type SceneRc = Rc<EngineCell<dyn Scene>>;