Skip to main content

Crate herdingcats

Crate herdingcats 

Source
Expand description

herdingcats — a deterministic, undoable game-event engine.

Structs§

Engine
The runtime that manages game state, rules, and commit history.
Transaction
A mutation proposal built by Rules during event dispatch.

Enums§

RuleLifetime
Controls how long a Rule stays active after Engine::add_rule.

Traits§

Operation
A reversible mutation that can be applied to and removed from a state value.
Rule
An observer and modifier of in-flight transactions during event dispatch.