euv-engine 0.9.1

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
use crate::*;

/// A reference-counted, interior-mutable handle to a `dyn Component` trait object.
pub type ComponentRc = Rc<RefCell<dyn Component>>;

/// A reference-counted, interior-mutable handle to an `Entity`.
pub type EntityRc = Rc<RefCell<Entity>>;