bevy_yarnspinner 0.1.2

Bevy plugin for Yarn Spinner for Rust, friendly tool for writing game dialogue
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use bevy::prelude::*;
pub(crate) use command_registry::wait::update_wait;
pub use command_registry::YarnCommands;
pub use command_wrapping::{TaskFinishedIndicator, UntypedYarnCommand, YarnCommand};
use seldom_fn_plugin::FnPluginExt;

mod command_registry;
mod command_wrapping;
mod execution;

pub(crate) fn commands_plugin(app: &mut App) {
    app.fn_plugin(command_wrapping::command_wrapping_plugin)
        .fn_plugin(command_registry::command_registry_plugin)
        .fn_plugin(execution::command_execution_plugin);
}