Skip navigation links
A B C D E G H I M N O P R S T U V W 

C

Card - Class in wcg.shared.cards
Instances of this class represent cards.
Card(CardSuit, CardValue) - Constructor for class wcg.shared.cards.Card
 
CardCollection - Class in wcg.games
A collection of cards that may represent a full deck, a player's hand or the cards on the table, for instance.
CardCollection() - Constructor for class wcg.games.CardCollection
An empty instance backed by the DefaultCardComparator.
CardCollection(List<Card>) - Constructor for class wcg.games.CardCollection
An instance backed by the by the DefaultCardComparator and populated with given list of cards.
CardCollection(CardComparator) - Constructor for class wcg.games.CardCollection
An empty instance backed by the given CardComparator.
CardCollection(CardComparator, List<Card>) - Constructor for class wcg.games.CardCollection
An instance backed by the given CardComparator and populated with given list of cards.
CardComparator - Interface in wcg.games
Comparison of 2 cards based on their suits and values.
cardComparator - Static variable in class wcg.games.war.WarGameMaster
 
CardGameException - Exception in wcg.shared
An exception thrown by web card games.
CardGameException() - Constructor for exception wcg.shared.CardGameException
 
CardGameException(String, Throwable, boolean, boolean) - Constructor for exception wcg.shared.CardGameException
 
CardGameException(String, Throwable) - Constructor for exception wcg.shared.CardGameException
 
CardGameException(String) - Constructor for exception wcg.shared.CardGameException
 
CardGameException(Throwable) - Constructor for exception wcg.shared.CardGameException
 
cards - Variable in class wcg.games.CardCollection
 
cardsOntable - Variable in class wcg.main.RealManagerTest.TestPlayers.TestPlayer
 
CardSuit - Enum in wcg.shared.cards
Enumeration with the 4 suits in cards
CardValue - Enum in wcg.shared.cards
Enumeration with the values of cards
checkCards(String, List<Card>) - Method in class wcg.games.GameMaster
Check if these cards can be played at this moment.
checkCards(String, List<Card>) - Method in class wcg.games.hearts.HeartsGameMaster
In HEARTS the player must play a single card per turn.
checkCards(String, List<Card>) - Method in class wcg.games.war.WarGameMaster
Normally players play a single card, but in a war they must play 3 cards.
cleanUpAfterClass() - Static method in class wcg.main.RealManagerTest
 
clearCards() - Method in class wcg.games.CardCollection
Clear all cards from this collection
comparator - Variable in class wcg.games.CardCollection
 
compare(CardSuit, CardSuit) - Method in interface wcg.games.CardComparator
Compare card suits as in Comparator
compare(CardValue, CardValue) - Method in interface wcg.games.CardComparator
Compare card values as in Comparator
compare(Card, Card) - Method in class wcg.games.DefaultCardComparator
Card order used in this game.
compare(CardSuit, CardSuit) - Method in class wcg.games.DefaultCardComparator
Implementation of a method similar the Comparator<CardSuit> interface using the compareTo() method of Enum.
compare(CardValue, CardValue) - Method in class wcg.games.DefaultCardComparator
Implementation of a method similar the Comparator<CardValue> interface using the the compareTo() method of Enum.
compare(CardValue, CardValue) - Method in class wcg.games.war.WarCardComparator
Similar order to the default but queens win over jacks.
compare(CardSuit, CardSuit) - Method in class wcg.games.war.WarCardComparator
All suits are equal.
compareTo(Card) - Method in class wcg.shared.cards.Card
 
concludeRound() - Method in class wcg.games.GameMaster
Conclude round by broadcasting the conclusion event, updating points for all players, setting turn for the next round
containsCard(Card) - Method in class wcg.games.CardCollection
Collection contains this card?
COUNTER - Static variable in class wcg.games.GameMaster
 
countHeartsInTurn - Variable in class wcg.games.hearts.HeartsGameMaster
 
createGame(String) - Method in class wcg.main.GamePool
Create a game master for the game with given name
createGame(String) - Method in class wcg.main.Manager
Create a new game instance of the game with given name.
A B C D E G H I M N O P R S T U V W 
Skip navigation links