Skip to content

Container

The Container behavior is present on Container objects such as Bags, Stacks and Decks.


Function Summary

Function Name Return Description  
search( player, max_card) Activate search window for player, optionally limited to top N cards

Function Details

Show the Search window for the container to player. If you specify max_cards then the search will be limited to that many cards from the top of the deck.

search(player, max_cards)

  • player: The player to show the Search window to.
  • max_cards: Optional maximum number of cards to show.
deck.Container.search(Player.Blue, 3)