Package Game.Cards
Klasse Card
java.lang.Object
Game.Cards.Card
This class provides the main functionalities of the cards
-
Konstruktordetails
-
Card
Constructor for the class Card- Parameter:
name
- The name of this cardvalue
- The value of this card
-
-
Methodendetails
-
getName
Returns the name of this card- Gibt zurück:
- The name of this card
-
getValue
public int getValue()Returns the value of this card- Gibt zurück:
- The value of this card
-
showFunction
public void showFunction()Shows the function of this card
-