Type Alias PureEventHandler

Source
pub type PureEventHandler = Pure<OverlordLogic>;
Expand description

DB-free handler over the pure game logic: Pure is the EventHandler half, OverlordLogic the logic. Used by tests and simulations through the synchronous System::run. logic_mut reaches the logic, so a caller can arm the fight seed of a precalculated PvP fight before replaying it (see OverlordLogic::arm_fight_seed).

Aliased Typeยง

struct PureEventHandler(/* private fields */);