pub fn commit_commands( state: &mut GameState, commands: &[Command], ) -> Vec<Event>
Apply a batch of commands to the GameState and return emitted events. Each command mutates the state and produces one or more events.
GameState