public abstract class ResourceCard extends Card
| Constructor and Description |
|---|
ResourceCard(Player owner,
com.badlogic.gdx.graphics.Texture cardTexture,
java.lang.String fuelType)
Initialises the card.
|
| Modifier and Type | Method and Description |
|---|---|
void |
implementCard()
A method to be overridden in subclasses.
|
public ResourceCard(Player owner, com.badlogic.gdx.graphics.Texture cardTexture, java.lang.String fuelType)
owner - The player who owns the card.cardTexture - The image the card will have on the UI.fuelType - The type of fuel the card will generate.public void implementCard()
CardimplementCard in class Card