rscenes 2.0.2

Scenes manager for Raylib.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::scene::Scene;

#[derive(Debug)]
pub enum State {
    /// Keep running the current scene
    Keep,
    /// Add a new scene and run it
    Next(Box<dyn Scene>),
    /// Get back to the previous scene (or quit if there's no one)
    Prev(usize),
    /// Quit
    Quit,
}