public class Priest
extends Card
This class provides special functionalities of the card "Priest Tomas"
- Version:
- 1.0
- Autor:
- Isabell Hans
-
Konstruktorübersicht
Konstruktoren
The constructor of the class Priest
-
Methodenübersicht
void
This method provides the function of this card
void
Prints out the function this card will have
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Konstruktordetails
-
Priest
public Priest()
The constructor of the class Priest
-
Methodendetails
-
showFunction
public void showFunction()
Prints out the function this card will have
- 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