yarnspinner_core 0.9.0

Core concepts for Yarn Spinner for Rust, the friendly tool for writing game dialogue
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Not part of the original implementation, but needed due to Rust's type system.
//! Inspired by how Bevy stores [`FnSystem`](https://docs.rs/bevy_ecs/0.10.1/bevy_ecs/system/struct.FnSystem.html)s.
//! This is all here just to emulate the `Dictionary<string, Delegate>` used in Yarn Spinner's `Library` class.

mod function_registry;
mod function_wrapping;
pub mod optionality;
mod parameter_wrapping;

pub(crate) use function_registry::*;
pub use {function_wrapping::*, parameter_wrapping::*};