Uses of Class
GameField.GameFieldException

Packages that use GameFieldException
GameField   
 

Uses of GameFieldException in GameField
 

Methods in GameField that throw GameFieldException
 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
 void GameField.connect(java.lang.String host, int port)
          connecte le gameField au serveur ayant l'adresse host et le port port
 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 Cards.nextCard()
          Returns a random card and REMOVE it from the set
 void Cards.setCards(java.util.Vector<Card> value)
          Set the value of cards
 void Card.setId(int value)
          Set the value of id
 void Card.setNbShapes(int value)
          Set the value of nbShapes
 void Card.setShape(Shape value)
          Set the value of shape
 

Constructors in GameField that throw GameFieldException
Card(Shape shape, int id, int nbShapes)
          Constructeur
Cards(int[] type, int[] color, int[] pattern)
           
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)
           
ServerGameField(java.io.PrintStream out, Network network, int[] type, int[] color, int[] pattern, int port, int nbClient, int helptime)
           
Shape(int pattern, int type, int color)