| Package | Description |
|---|---|
| com.TeamHEC.LocomotionCommotion.Card | |
| com.TeamHEC.LocomotionCommotion.Player |
| Modifier and Type | Class and Description |
|---|---|
class |
CoalCard |
class |
ElectricCard |
class |
GoFasterStripesCard |
class |
GoldCard |
class |
NuclearCard |
class |
OilCard |
class |
ResourceCard |
class |
TeleportCard |
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<Card> |
Game_CardHand.Game_CardHandManager.newcards |
| Modifier and Type | Method and Description |
|---|---|
Card |
CardFactory.createAnyCard()
Creates a random card from either the magicCardList or resourceCardList.
|
Card |
CardFactory.createMagicCard()
Creates a random card from the set of magic cards.
|
Card |
CardFactory.createResourceCard()
Creates a random card from the set of resource cards.
|
Card |
CardActor.getCard() |
| Modifier and Type | Method and Description |
|---|---|
void |
Game_CardHand.Game_CardHandManager.addCard(Card newCard)
Adds given card to hand if hand is not full.
|
void |
CardActor.setCard(Card card) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Card> |
Player.getCards() |
| Modifier and Type | Method and Description |
|---|---|
void |
Player.addCard(Card card) |
void |
Player.discardCard(Card card) |
| Constructor and Description |
|---|
Player(java.lang.String name,
int points,
Gold gold,
Coal coal,
Electric electric,
Nuclear nuclear,
Oil oil,
java.util.ArrayList<Card> cards,
java.util.ArrayList<Goal> goals,
java.util.ArrayList<Train> trains) |