[][src]Module rust_warrior::engine::systems

the "S" in ECS

There is a PlayerSystem, which hooks into the player-controlled Warrior. There is the SludgeSystem, which (when a level contains sludges) performs sludge attacks if the player is in range. There is the ShooterSystem, which (when a level contains archers or wizards) performs archer and wizard attacks. And lastly there is the UiSystem, which simply draws the overhead map of floor and any units still alive after each turn is executed.

Re-exports

pub use player::PlayerSystem;
pub use shooter::ShooterSystem;
pub use sludge::SludgeSystem;
pub use ui::UiSystem;

Modules

player

contains system for player-controlled interactions

shooter

contains system for archer and wizard enemy AI

sludge

contains system for sludge enemy AI

ui

contains system which prints out the state of the world