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

C

Card - Class in app.model
The Card class contains all the information a card can contain, statistics on cards type, number and max number and a list of already instantiated cards to check card uniqueness because there can't be multiple card with same suit and rank In this game there are only 78 cards : - 56 Classic cards - 21 Trump cards - 1 Excuse card
Card() - Constructor for class app.model.Card
Constructs a void card
Card(Suit, Rank) - Constructor for class app.model.Card
Constructs a card with a suit and a rank
Card(Suit, int) - Constructor for class app.model.Card
Constructs a trump card with a suit and a trump rank or the excuse with a null rank
Card.CardComparator - Class in app.model
The CardComparator class compares two cards following their Rank and Suit
CardComparator() - Constructor for class app.model.Card.CardComparator
 
CardComparisonTest() - Method in class unitTests.StandaloneModelClassesTests
Test if cards are correctly compared following their Suit and Rank
CardGroup - Class in app.model
The CardGroup class consists in a group of cards.
CardGroup(int) - Constructor for class app.model.CardGroup
Constructs a CardGroup
CardGroupNumberException - Exception in exceptions
Exception class on CardGroup number limit
CardGroupNumberException(String) - Constructor for exception exceptions.CardGroupNumberException
Exception fired when user tries to instantiate too much time the same CardGroup type
CardGroupNumberException(String, int) - Constructor for exception exceptions.CardGroupNumberException
Exception fired when user tries to instantiate too much time the same CardGroup type
CardGroupNumberException() - Method in class unitTests.StandaloneModelClassesTests
Tests creating the hand and the Talon Two exceptions should be fired
CardInstantiationTest() - Method in class unitTests.StandaloneModelClassesTests
Test if instantiation increments Card instances number No exception should be fired
cardListToString() - Method in class app.model.CardGroup
Display all the cards of a card group
CardNameException - Exception in exceptions
Exception class on card uniqueness
CardNameException() - Constructor for exception exceptions.CardNameException
Exception fired when user tries to instantiate a card with a bad name
CardNumberException - Exception in exceptions
Exception class on card number limit
CardNumberException(String, int) - Constructor for exception exceptions.CardNumberException
Exception fired when user tries to instantiate/add too much cards
CardNumberExceptionTest() - Method in class unitTests.StandaloneModelClassesTests
Tests CardGroupNumberException that should be fired
CardUniquenessException - Exception in exceptions
Exception class on card uniqueness
CardUniquenessException() - Constructor for exception exceptions.CardUniquenessException
Exception fired when user tries to instantiate twice the same card
CardUniquenessExceptionTest() - Method in class unitTests.StandaloneModelClassesTests
Tests CardUniquenessException that should be fired
CardUpdate - Class in app.model
This class is a container which is passed when calling notifyObservers() method.
CardUpdate(CardUpdateType, Card) - Constructor for class app.model.CardUpdate
Constructs CardUpdate with a card and a type
CardUpdate(CardUpdateType, Card, CardGroup) - Constructor for class app.model.CardUpdate
Constructs CardUpdate with a card, a group and a type Setting a null group will affect the card to the default view group
CardUpdate(CardUpdateType, CardGroup) - Constructor for class app.model.CardUpdate
Constructs CardUpdate with a group and a type
CardUpdateType - Enum in app.model
The CardUpdateType enumeration defines actions that are done on cards.
changeCurrentPlayer() - Method in class app.model.PlayerHandler
Change current player counter-clockwise / rightward
changeDealer() - Method in class app.model.PlayerHandler
Change dealer counter-clockwise / rightward
checkHasPetitSec() - Method in class app.model.Hand
Check if a hand has Petit Sec (First of Trump as only Trump and no excuse)
cleanClasses() - Method in class unitTests.StandaloneModelClassesTests
Reset static fields before each test
compare(Card, Card) - Method in class app.model.Card.CardComparator
 
consoleApplication - package consoleApplication
 
ConsoleMain - Class in consoleApplication
The ConsoleMain class of console-only app
ConsoleMain() - Constructor for class consoleApplication.ConsoleMain
 
createCards() - Method in class app.model.GameModel
Creates all cards and puts them in wholeCardsDeck
cutDeck() - Method in class app.model.GameModel
Cuts a deck of cards
cuttingCardsTest() - Method in class unitTests.GameModelTests
Test on cutting Cards method No exception should be fired
A B C D E F G H I L M N P Q R S T U V W 
Skip navigation links