|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use Card | |
|---|---|
| GameField | |
| GUI | |
| Uses of Card in GameField |
|---|
| Fields in GameField declared as Card | |
|---|---|
protected Card[][] |
GameField.fieldCards
|
| Fields in GameField with type parameters of type Card | |
|---|---|
private java.util.Vector<Card> |
Cards.cards
|
| Methods in GameField that return Card | |
|---|---|
Card |
Cards.getCardById(int id)
Chercher la carte ayant id dans paquet Si carte non presente renvoie erreur (carte non presente) sinon recuperer la carte, la supprimer du paquet et renvoyer la carte |
Card[][] |
GameField.getFieldCards()
The logical gamefield |
Card |
Cards.nextCard()
Returns a random card and REMOVE it from the set |
| Methods in GameField that return types with arguments of type Card | |
|---|---|
java.util.Vector<Card> |
Cards.getCards()
Get the value of cards |
| Methods in GameField with parameters of type Card | |
|---|---|
int[] |
GameField.addCardToField(Card c)
Adds the card c in an empty position |
void |
GameField.addCardToField(Card c,
int i,
int j)
Adds the card c at the position (i,j) on the gamefield |
private boolean |
ServerGameField.isAValidTriplet(Card c1,
Card c2,
Card c3)
Returns true if {c1,c2,c3} is a valid triplet |
void |
GameField.setFieldCards(Card[][] value)
The logical gamefield |
| Method parameters in GameField with type arguments of type Card | |
|---|---|
void |
Cards.setCards(java.util.Vector<Card> value)
Set the value of cards |
| Constructors in GameField with parameters of type Card | |
|---|---|
GameField(Card[][] fieldCards,
Cards packet,
java.util.Vector<Player> players,
Network network)
|
|
ServerGameField(java.io.PrintStream out,
Card[][] fieldCards,
java.util.Vector<Player> players,
Network network,
int[] type,
int[] color,
int[] pattern,
int port,
int nbClient,
int helptime)
|
|
| Uses of Card in GUI |
|---|
| Constructors in GUI with parameters of type Card | |
|---|---|
JPanelCard(Card card,
java.awt.Color cardColor,
int x,
int y)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||