Skip to content
Snippets Groups Projects
lib.rs 732 B
Newer Older
pub use bevy;
Kat Marchán's avatar
Kat Marchán committed

pub use actions::*;
pub use choices::*;
pub use scorers::*;
Kat Marchán's avatar
Kat Marchán committed
pub use thinker::*;
pub use pickers::*;
Kat Marchán's avatar
Kat Marchán committed

pub mod evaluators;
mod pickers;
Kat Marchán's avatar
Kat Marchán committed

mod actions;
mod choices;
mod scorers;
Kat Marchán's avatar
Kat Marchán committed
mod thinker;
Kat Marchán's avatar
Kat Marchán committed

use bevy::prelude::*;

pub struct BigBrainPlugin;

impl Plugin for BigBrainPlugin {
    fn build(&self, app: &mut AppBuilder) {
        app.add_system(thinker_system.system());
        app.add_system(thinker_component_attach_system.system());
        app.add_system(thinker_component_detach_system.system());
        app.add_system(steps_system.system());
Kat Marchán's avatar
Kat Marchán committed
        app.add_system(fixed_score_system.system());
        app.add_system(all_or_nothing_system.system());
        app.add_system(sum_of_scorers_system.system());
Kat Marchán's avatar
Kat Marchán committed
    }
}