[−][src]Struct oxygengine_visual_novel::story::Story
Implementations
impl Story
[src]
pub fn initialize(&mut self)
[src]
pub fn register_scene(&mut self, scene: Scene)
[src]
pub fn unregister_scene(&mut self, name: &str) -> Option<Scene>
[src]
pub fn register_background(&mut self, background: Background)
[src]
pub fn unregister_background(&mut self, name: &str) -> Option<Background>
[src]
pub fn register_character(&mut self, character: Character)
[src]
pub fn unregister_character(&mut self, name: &str) -> Option<Character>
[src]
pub fn register_chapter(&mut self, chapter: Chapter)
[src]
pub fn unregister_chapter(&mut self, name: &str) -> Option<Chapter>
[src]
pub fn backgrounds(&self) -> impl Iterator<Item = (&str, &Background)>
[src]
pub fn background(&self, name: &str) -> Option<&Background>
[src]
pub fn scenes(&self) -> impl Iterator<Item = (&str, &Scene)>
[src]
pub fn scene(&self, name: &str) -> Option<&Scene>
[src]
pub fn characters(&self) -> impl Iterator<Item = (&str, &Character)>
[src]
pub fn character(&self, name: &str) -> Option<&Character>
[src]
pub fn character_mut(&mut self, name: &str) -> Option<&mut Character>
[src]
pub fn chapter(&self, name: &str) -> Option<&Chapter>
[src]
pub fn active_scene(&self) -> &ActiveScene
[src]
pub fn active_dialogue(&self) -> &ActiveDialogue
[src]
pub fn current_chapter(&self) -> Option<(&str, usize)>
[src]
pub fn is_paused(&self) -> bool
[src]
pub fn set_paused(&mut self, value: bool)
[src]
pub fn is_waiting_for_dialogue_option_selection(&self) -> bool
[src]
pub fn select_dialogue_option(&mut self, index: usize) -> Result<(), StoryError>
[src]
pub fn unselect_dialogue_option(&mut self)
[src]
pub fn go_to_scene(&mut self, name: &str) -> Result<(), StoryError>
[src]
pub fn end_scene(&mut self)
[src]
pub fn change_scene_background(&mut self, name: &str) -> Result<(), StoryError>
[src]
pub fn jump_to_label(&mut self, name: &str) -> Result<(), StoryError>
[src]
pub fn run_chapter(&mut self, name: &str) -> Result<(), StoryError>
[src]
pub fn in_progress(&self) -> bool
[src]
pub fn is_complete(&self) -> bool
[src]
pub fn debug_state(&self) -> StoryDebugState
[src]
pub fn process(&mut self, delta_time: Scalar) -> Result<(), StoryError>
[src]
Trait Implementations
impl Clone for Story
[src]
impl Debug for Story
[src]
impl Default for Story
[src]
impl<'de> Deserialize<'de> for Story
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Prefab for Story
[src]
fn from_prefab(data: Value) -> Result<Self, PrefabError>
[src]
fn from_prefab_with_extras(
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<()>
) -> Result<Self, PrefabError>
[src]
data: Value,
_named_entities: &HashMap<String, Entity, RandomState>,
_state_token: ID<()>
) -> Result<Self, PrefabError>
fn to_prefab(&self) -> Result<Value, PrefabError>
[src]
fn from_prefab_str(data: &str) -> Result<Self, PrefabError>
[src]
fn to_prefab_string(&self) -> Result<String, PrefabError>
[src]
fn post_from_prefab(&mut self)
[src]
impl Serialize for Story
[src]
Auto Trait Implementations
impl RefUnwindSafe for Story
impl Send for Story
impl Sync for Story
impl Unpin for Story
impl UnwindSafe for Story
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Erased for T
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> TryDefault for T where
T: Default,
T: Default,
fn try_default() -> Result<T, String>
fn unwrap_default() -> Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,