Index
Alle Klassen und Schnittstellen|Alle Packages
A
- actionOrHelp() - Methode in Klasse game.Output
-
Used to tell player what the options are
- allCards() - Methode in Klasse game.Output
-
Prints out all cards, their values and functions
- askNumPlayers() - Methode in Klasse game.Output
-
Used to request number of players
B
- Baron - Klasse in cards
-
This class provides special functionalities of the card "Baron Talus"
- Baron() - Konstruktor für Klasse cards.Baron
-
The constructor for the class Baron
- baronText() - Methode in Klasse game.Output
-
Explains functionality of card Baron
C
- cancelled() - Methode in Klasse game.Output
-
Informs about cancellation of action
- cantChooseSelf() - Methode in Klasse game.Output
-
Used to tell that player can't choose him- or herself
- Card - Klasse in cards
-
This class provides the main functionalities of the cards
- Card(String, int) - Konstruktor für Klasse cards.Card
-
Constructor for the class Card
- cards - Package cards
- cardsDrawn() - Methode in Klasse game.Output
-
used to tell that the first cards were drawn
- cardsNotAvailable() - Methode in Klasse game.Output
-
Used to tell that cards are not availabe
- choose() - Methode in Klasse game.Output
-
Asks player which other player to pick
- chooseNumber() - Methode in Klasse game.Output
-
Asks player to choose a number
- choosePlayer(Scanner, ArrayList<Player>, Player, boolean) - Methode in Klasse cards.Card
-
This method is used to select a player
- confirm() - Methode in Klasse game.Output
-
Used to confirm a question asked before
- Countess - Klasse in cards
-
This class provides special functionalities of the card "Countess Wilhelmina"
- Countess() - Konstruktor für Klasse cards.Countess
-
The constructor for the class Countess
- countessText() - Methode in Klasse game.Output
-
Explains functionality of card Countess
D
- dateQuestion() - Methode in Klasse game.Output
-
Used to figure out who starts the round
- Deck - Klasse in game
-
This class provides the functionality of a deck of cards
- Deck() - Konstruktor für Klasse game.Deck
-
Constructor for the class Deck
- discard(Card) - Methode in Klasse game.Player
-
This method discards one card from this players handcards and adds it to the list of discarded cards
- discardAll() - Methode in Klasse game.Player
-
This method discards all of the cards of this player and adds them to the list of discarded cards
- discardCountess() - Methode in Klasse game.Output
-
Informs player that countess has to be discarded
- discardedCountess() - Methode in Klasse game.Output
-
Informs player that he or she discarded the countess
- draw() - Methode in Klasse game.Deck
-
This method draws and returns the first card
- drawCard(Card) - Methode in Klasse game.Player
-
This method is used to draw a specific card
- drawCard(Deck) - Methode in Klasse game.Player
-
This method is used to draw a card from the deck
E
G
- game - Package game
- GameLogic - Klasse in game
-
This class provides the logic for a game
- GameLogic(ArrayList<Player>) - Konstruktor für Klasse game.GameLogic
-
Constructor for the class GameLogic
- getCardList() - Methode in Klasse game.Player
-
This method returns the list of this players handcards
- getCardNames() - Methode in Klasse game.Player
-
Returns the cards in this players hands as an arraylist
- getCardValue() - Methode in Klasse game.Player
-
This method returns a list of this players handcard value
- getDiscardedCardsValues() - Methode in Klasse game.Player
-
Gets the sum of all values of the discarded cards of this player
- getName() - Methode in Klasse cards.Card
-
Returns the name of this card
- getName() - Methode in Klasse game.Player
-
Returns the name of this player
- getScore() - Methode in Klasse game.Player
-
Returns the score of this player
- getValue() - Methode in Klasse cards.Card
-
Returns the value of this card
- Guard - Klasse in cards
-
This class provides special functionalities of the card "Guard Odette"
- Guard() - Konstruktor für Klasse cards.Guard
-
The constructor of the class Guard
- guardText() - Methode in Klasse game.Output
-
Explains functionality of card Gaurd
H
- Handmaid - Klasse in cards
-
This class provides special functionalities of the card "Handmaid Susannah"
- Handmaid() - Konstruktor für Klasse cards.Handmaid
-
The constructor for the class Handmaid
- handmaidText() - Methode in Klasse game.Output
-
Explains functionality of card Handmaid
- helpBegin() - Methode in Klasse game.Output
-
Prints out possible commands at the beginning of a game
I
- increaseScore() - Methode in Klasse game.Player
-
Increases the score of this player
- initializeGame(Scanner, MainGame) - Methode in Klasse game.MainGame
-
Queries the parameters of this game on the console
- insertName() - Methode in Klasse game.Output
-
Used to request the names of the players
- isActive() - Methode in Klasse game.Player
-
Returns if this player is an active player of the round
- isEmpty() - Methode in Klasse game.Deck
-
Checks if this deck is empty
- isProtected() - Methode in Klasse game.Player
-
This method checks if this player is currently protected
K
- King - Klasse in cards
-
This class provides special functionalities of the card "King Arnaud IV"
- King() - Konstruktor für Klasse cards.King
-
The constructor for the class King
- kingText() - Methode in Klasse game.Output
-
Explains functionality of card King
- knockedOut() - Methode in Klasse game.Output
-
Used to tell that a player got knocked out of the round
L
M
- main(String[]) - Statische Methode in Klasse game.MainGame
-
The main method
- MainGame - Klasse in game
-
This is the main class for the game Love Letter
- MainGame() - Konstruktor für Klasse game.MainGame
-
This is the constructor for the Main Game
- moreLetters() - Methode in Klasse game.Output
-
Used when more than one player won this round
N
- nameExists() - Methode in Klasse game.Output
-
Used to tell that name already exists
- nameNotFound() - Methode in Klasse game.Output
-
Used to tell that name couln't be found
- newCommand() - Methode in Klasse game.Output
-
Used to tell player to type in command
- newGame() - Methode in Klasse game.Output
-
Used ask if player wants to start a new game
- newRound() - Methode in Klasse game.Output
-
Used to start a new round
- noNumber() - Methode in Klasse game.Output
-
Used to tell that input is not a number
- noPlayers() - Methode in Klasse game.Output
-
Used to inform that no players can be chosen
- notANameOption() - Methode in Klasse game.Output
-
Used to tell that a player can't be chosen
- noValidCardName() - Methode in Klasse game.Output
-
Used to tell that input was no card name
- noValidCommand() - Methode in Klasse game.Output
-
Used to tell that input was no command
- noValidNumber() - Methode in Klasse game.Output
-
Used to tell that input is no valid number
O
- oneLetter() - Methode in Klasse game.Output
-
Used when one player one this round
- Output - Klasse in game
-
This class holds all the prints of the other classes
- Output() - Konstruktor für Klasse game.Output
-
Constructor for the class Output
P
- play(Scanner, Player) - Methode in Klasse game.GameLogic
-
This method starts a round in the current game
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Baron
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Card
-
Holds the effect of this card To be overridden by child classes
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Countess
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Guard
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Handmaid
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.King
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Priest
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Prince
-
This method provides the function of this card
- play(Scanner, ArrayList<Player>, Player, Deck, Card) - Methode in Klasse cards.Princess
-
This method provides the function of this card
- Player - Klasse in game
-
This class provides functionalities and properties regarding the players
- Player(String) - Konstruktor für Klasse game.Player
-
Constructor for the class Player
- Priest - Klasse in cards
-
This class provides special functionalities of the card "Priest Tomas"
- Priest() - Konstruktor für Klasse cards.Priest
-
The constructor of the class Priest
- priestText() - Methode in Klasse game.Output
-
Explains functionality of card Priest
- Prince - Klasse in cards
-
This class provides special functionalities of the card "Prince Arnaud"
- Prince() - Konstruktor für Klasse cards.Prince
-
The constructor for the class Prince
- Princess - Klasse in cards
-
This class provides special functionalities of the card "Princess Annette"
- Princess() - Konstruktor für Klasse cards.Princess
-
The constructor for the class Princess
- princessText() - Methode in Klasse game.Output
-
Explains functionality of card Princess
- princeText() - Methode in Klasse game.Output
-
Explains functionality of card Prince
- proected() - Methode in Klasse game.Output
-
Used to tell that player is now protected
R
S
- selectCard() - Methode in Klasse game.Output
-
Asks player which card he or she wants to pick
- selectedSelf() - Methode in Klasse game.Output
-
Used to inform player that he or she selected him- or herself
- setActiveStatus(boolean) - Methode in Klasse game.Player
-
Sets the active status of this player
- setCardList(ArrayList<Card>) - Methode in Klasse game.Player
-
This method replaces this players list of handcards with a new one
- setProtection(boolean) - Methode in Klasse game.Player
-
This method sets the protection
- showCards() - Methode in Klasse game.Player
-
This method shows the card in this players hand
- showCommandExplanations() - Methode in Klasse game.Output
-
Prints out possible commands during a game
- showFunction() - Methode in Klasse cards.Baron
-
This method prints out the function of this card
- showFunction() - Methode in Klasse cards.Card
-
Shows the function of this card To be overridden by child classes
- showFunction() - Methode in Klasse cards.Countess
-
Prints out the function of this card
- showFunction() - Methode in Klasse cards.Guard
-
Prints out the function of this card
- showFunction() - Methode in Klasse cards.Handmaid
-
Prints out the function of this card
- showFunction() - Methode in Klasse cards.King
-
Prints out the function of this card
- showFunction() - Methode in Klasse cards.Priest
-
Prints out the function this card will have
- showFunction() - Methode in Klasse cards.Prince
-
Prints out the function of this card
- showFunction() - Methode in Klasse cards.Princess
-
Prints out the function of this card
- shuffle() - Methode in Klasse game.Deck
-
This method randomly shuffles the deck
- start(Scanner) - Methode in Klasse game.GameLogic
-
This method starts a new game round by drawing cards
- startFirstRound() - Methode in Klasse game.Output
-
Used to start round 1
- startHelp() - Methode in Klasse game.Output
-
Used to print out options at the beginning of a new game
- startNewGame(Scanner) - Methode in Klasse game.GameLogic
-
This method starts a new game
- startNewGame(Scanner, ArrayList<Player>) - Methode in Klasse game.MainGame
-
This method starts a new game round
T
W
- welcome() - Methode in Klasse game.Output
-
Used to welcome players to the game
- wonHeart() - Methode in Klasse game.Output
-
Used to tell who won the game
Alle Klassen und Schnittstellen|Alle Packages