|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.TeamHEC.LocomotionCommotion.Card.Card
com.TeamHEC.LocomotionCommotion.Card.ResourceCard
public abstract class ResourceCard
Constructor Summary | |
---|---|
ResourceCard(Player owner,
com.badlogic.gdx.graphics.Texture cardTexture,
java.lang.String fuelType)
Initialises the card. |
Method Summary | |
---|---|
void |
implementCard()
A method to be overridden in subclasses. |
Methods inherited from class com.TeamHEC.LocomotionCommotion.Card.Card |
---|
getImage, getName, getOwner, setOwner |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public void implementCard()
Card
implementCard
in class Card
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |