rust_warrior/engine/systems.rs
1//! Game engine systems
2//!
3//! The [`player_system`](crate::engine::systems::player_system) function allows
4//! the player to control their [`Warrior`](crate::warrior::Warrior) and
5//! responds to their chosen action each turn.
6//!
7//! If a level contains sludges, then the
8//! [`sludge_system`](crate::engine::systems::sludge_system) performs sludge
9//! attacks any time a sludge is within range of the player.
10//!
11//! If a level contains archers or wizards, then the
12//! [`shooter_system`](crate::engine::systems::shooter_system) performs archer
13//! and wizard attacks.
14//!
15//! Lastly, the [`ui_system`](crate::engine::systems::ui_system) draws an
16//! overhead map of the floor and any units still alive after each turn takes
17//! place.
18
19pub mod player;
20pub mod shooter;
21pub mod sludge;
22pub mod ui;
23
24pub use player::player_system;
25pub use shooter::shooter_system;
26pub use sludge::sludge_system;
27pub use ui::ui_system;