Skip to main content

get_defined_players

Function get_defined_players 

Source
pub fn get_defined_players(
    game: &GameState,
    _host_card: Option<CardId>,
    defined: &str,
    activating_player: Option<PlayerId>,
) -> Vec<PlayerId>
Expand description

Resolve Defined$ strings to a list of player IDs. Mirrors Java’s AbilityUtils.getDefinedPlayers().