Trait ascii_forge::scene::Scene
source · pub trait Scene {
// Required method
fn run(
&mut self,
window: &mut Window
) -> Result<SceneResult, Box<dyn Error>>;
}
Expand description
A scene, that will render everthing, and will either exit the game, or return a new scene to transition to.