pub fn apply(
engine: &mut GameEngine,
player: PlayerId,
action: Action,
) -> Result<Vec<Event>, CardinalError>Expand description
Apply an action to the game state, returning events that occurred. This includes: direct action effects, trigger evaluation, and command application.