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