detphys_rule.hppC++ helper for writing rules (header only)
| Name | Description |
|---|---|
detphys::make_rule(r, rule_id, input_words, state_words, params, params_size) | Makes a detphys_ from an object with member functions (begin_match, apply_input, and optionally check_input, after_tick, end_turn). Keep r alive longer than the session |