diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..c11e51f --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,21 @@ +#![warn(missing_docs)] + +//! Bevy plugin providing a yarnspinner-based dialog system for the bevy_terminal_display plugin +//! and dirworld plugin. + +use bevy::prelude::*; + +mod systems; +pub mod widgets; +pub mod util; +pub mod actor; + +/// Plugin which provides dialog functionality +pub struct TerminalDialogPlugin; + +impl Plugin for TerminalDialogPlugin { + fn build(&self, app: &mut App) { + app.add_plugins(actor::ActorPlugin) + .add_systems(Startup, systems::setup); + } +} |