|
|||||||||
| Home >> All >> org >> zazof >> [ jteg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.zazof.jteg
Class CardList

java.lang.Objectorg.zazof.jteg.CardList
- public class CardList
- extends java.lang.Object
| Field Summary | |
private java.util.Vector |
$cards
|
private static boolean |
DEBUG
|
| Constructor Summary | |
CardList()
|
|
| Method Summary | |
void |
deActivateCard(int countryID)
DeActivate the card with the specified CountryID. |
java.util.Vector |
getActiveCards()
Get the active cards in this cardlist. |
java.util.Enumeration |
getCards()
Get the cards in this cardlist |
Card |
getFreeCard()
Get a free card |
int |
getNumberOfSelectedCards()
Get the number of selected (and active) cards. |
java.util.Vector |
getSelectedCards()
Get the selected (and active) cards in this cardlist |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
$cards
private java.util.Vector $cards
DEBUG
private static boolean DEBUG
| Constructor Detail |
CardList
public CardList()
| Method Detail |
deActivateCard
public void deActivateCard(int countryID)
- DeActivate the card with the specified CountryID. If no card exists with the countryID, nothing happens
getFreeCard
public Card getFreeCard() throws NoFreeCardException
- Get a free card
getCards
public java.util.Enumeration getCards()
- Get the cards in this cardlist
getSelectedCards
public java.util.Vector getSelectedCards()
- Get the selected (and active) cards in this cardlist
getActiveCards
public java.util.Vector getActiveCards()
- Get the active cards in this cardlist. These are the cards this player HAS
getNumberOfSelectedCards
public int getNumberOfSelectedCards()
- Get the number of selected (and active) cards.
|
|||||||||
| Home >> All >> org >> zazof >> [ jteg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.zazof.jteg.CardList