Skip to main content

get_defined_cards

Function get_defined_cards 

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

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