pub fn player_may(
state: &CombatState,
command: &CombatCommand,
own: impl Fn(&Combatant) -> bool,
) -> Result<(), CombatError>Expand description
Whether a player may send command, given which combatants are their
own. Combatants or effects the combat doesn’t have are let through, for
super::decide to refuse.