public class Handmaid
extends Card
This class provides special functionalities of the card "Handmaid Susannah"
- Version:
- 1.0
- Autor:
- Isabell Hans
-
Konstruktorübersicht
Konstruktoren
The constructor for the class Handmaid
-
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
-
Handmaid
public Handmaid()
The constructor for the class Handmaid
-
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