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

Expand description

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

contains system for player-controlled interactions

contains system for archer and wizard enemy AI

contains system for sludge enemy AI

contains system which prints out the state of the world