public class DealMakerCard
extends Card
-
-
Constructor Summary
Constructors
-
Method Summary
boolean
Check if the user can perform this action
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
coins
protected int coins
-
Constructor Details
-
DealMakerCard
public DealMakerCard(int coins)
-
Method Details
-
check
Description copied from class: Card
Check if the user can perform this action
- Specified by:
check in class Card
- Parameters:
player - Player object
- Returns:
- True if he can, False if he can't
-
execute
Description copied from class: Action
Execute the Action
- Specified by:
execute in class Action
- Parameters:
attacker - Entity Attacker
defender - Entity Defender