public class Guard
extends Card
This class provides special functionalities of the card "Guard Odette"
- Version:
- 1.0
- Autor:
- Isabell Hans
-
Konstruktorübersicht
Konstruktoren
The constructor of the class Guard
-
Methodenübersicht
void
This method provides the function of this card
void
Prints out the function of this card
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Konstruktordetails
-
Guard
public Guard()
The constructor of the class Guard
-
Methodendetails
-
showFunction
public void showFunction()
Prints out the function of this card
- Setzt außer Kraft:
showFunction
in Klasse Card
-
play
This method provides the function of this card
- Setzt außer Kraft:
play
in Klasse Card
- Parameter:
scanner
- The scanner used by the calling method
players
- The list of players
turn
- The player whose turn it is
deck
- The current deck of cards
firstCard
- The card drawn in the beginning