aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: c11e51f9a1d858df34da98da5288d36ef3228016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
    }
}