From addcfff12a76f861e07d844eabfa349e2f4014c1 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Sun, 25 Aug 2024 02:22:37 -0400 Subject: Initial Commit --- src/lib.rs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/lib.rs (limited to 'src/lib.rs') 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); + } +} -- cgit v1.2.3