public class Baron
extends Card
This class provides special functionalities of the card "Baron Talus"
- Version:
- 1.0
- Autor:
- Isabell Hans
-
Konstruktorübersicht
Konstruktoren
The constructor for the class Baron
-
Methodenübersicht
void
This method provides the function of this card
void
This method 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
-
Baron
public Baron()
The constructor for the class Baron
-
Methodendetails
-
showFunction
public void showFunction()
This method 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