Interface Inventory

All Known Implementing Classes:
GameContext

public interface Inventory
  • Method Summary

    Modifier and Type
    Method
    Description
    getDeck(Player player, String name)
    Retrieves a deck of the specified name for the given player.
  • Method Details

    • getDeck

      GameDeck getDeck(Player player, String name)
      Retrieves a deck of the specified name for the given player.
      Parameters:
      player - The player whose deck collections should be queried.
      name - The name of the deck to retrieve
      Returns:
      The deck, or null if no deck was found with the given name.