Verwendungen von Klasse
cards.Card

Packages, die Card verwenden
Package
Beschreibung
 
 
  • Verwendungen von Card in cards

    Unterklassen von Card in cards
    Modifizierer und Typ
    Klasse
    Beschreibung
    class 
    This class provides special functionalities of the card "Baron Talus"
    class 
    This class provides special functionalities of the card "Countess Wilhelmina"
    class 
    This class provides special functionalities of the card "Guard Odette"
    class 
    This class provides special functionalities of the card "Handmaid Susannah"
    class 
    This class provides special functionalities of the card "King Arnaud IV"
    class 
    This class provides special functionalities of the card "Priest Tomas"
    class 
    This class provides special functionalities of the card "Prince Arnaud"
    class 
    This class provides special functionalities of the card "Princess Annette"
    Methoden in cards mit Parametern vom Typ Card
    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Baron.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Card.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    Holds the effect of this card To be overridden by child classes
    void
    Countess.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Guard.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Handmaid.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    King.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Priest.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Prince.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
    void
    Princess.play(Scanner scanner, ArrayList<Player> players, Player turn, Deck deck, Card firstCard)
    This method provides the function of this card
  • Verwendungen von Card in game

    Methoden in game, die Card zurückgeben
    Modifizierer und Typ
    Methode
    Beschreibung
    Deck.draw()
    This method draws and returns the first card
    Player.drawCard(Card card)
    This method is used to draw a specific card
    Player.drawCard(Deck deck)
    This method is used to draw a card from the deck
    Methoden in game, die Typen mit Argumenten vom Typ Card zurückgeben
    Modifizierer und Typ
    Methode
    Beschreibung
    Player.getCardList()
    This method returns the list of this players handcards
    Methoden in game mit Parametern vom Typ Card
    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Player.discard(Card card)
    This method discards one card from this players handcards and adds it to the list of discarded cards
    Player.drawCard(Card card)
    This method is used to draw a specific card
    Methodenparameter in game mit Typargumenten vom Typ Card
    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Player.setCardList(ArrayList<Card> cards)
    This method replaces this players list of handcards with a new one