1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
/// Default Scene types.
///
/// A basic game can be made using these defaults.
/// Can be extended with Custom by using concrete project values.
///
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum SceneKind {
/// Splash screen scene
Splash,
/// Intro screen scene
Intro,
/// SelectSession screen scene
SelectSession,
/// SelectStory screen scene
SelectStory,
/// SelectLevel screen scene
SelectLevel,
/// Instructions screen scene
Instructions,
/// Settings screen scene
Settings,
/// Menu screen scene
Menu,
/// Avatar screen scene
Avatar,
/// Shop screen scene
Shop,
/// Rewards screen scene
Rewards,
/// LeaderBoard screen scene
LeaderBoard,
/// Game screen scene
Game,
/// Interstitial screen scene
Interstitial,
/// Cinematic screen scene
Cinematic,
/// Results screen scene
Results,
/// Exit screen scene
Exit,
/// Recommended to be used as a testing sandbox to test new entities etc.
Test,
/// Allows [SceneKind] to be extended (e.g. for using project specific enumerated scene types).
Custom {
/// Custom value
value: u32,
},
}