Uses of Class
de.htwdd.rosenkoenig.game.Card

Packages that use Card
de.htwdd.rosenkoenig.game This packages contains all classes that implement the "business logic" of Rosenkoenig
de.htwdd.rosenkoenig.gui All classes that have to do anything with user interaction or game in- and outputs are located here. 
de.htwdd.rosenkoenig.gui.genuts This package contains a GUI implementation based on the Java gui framework Genuts
 

Uses of Card in de.htwdd.rosenkoenig.game
 

Fields in de.htwdd.rosenkoenig.game declared as Card
protected  Card Game.nextCard
          this property determines user's next move; if user can move, and this property is unequal to five then the selected card is played otherwise the user draws a card, if possible (i.e. lt 5 cards)
 

Fields in de.htwdd.rosenkoenig.game with type parameters of type Card
protected  java.util.ArrayList<Card> Player.cards
           
protected  java.util.List<Card> Game.drawDeck
           
protected  java.util.List<Card> Game.knightableCards
          List of knightable cards.
protected  java.util.List<Card> Game.playableCards
          List of playable cards.
protected  java.util.List<Card> Game.playedCardsDeck
           
 

Methods in de.htwdd.rosenkoenig.game that return Card
 Card Game.getNextCard()
          Getter of the property nextCard
 

Methods in de.htwdd.rosenkoenig.game that return types with arguments of type Card
 java.util.ArrayList<Card> Player.getCards()
          Getter of the property cards
 java.util.List<Card> Game.getDrawDeck()
          Getter of the property drawDeck
 java.util.List<Card> Game.getPlayedCardsDeck()
          Getter of the property playedCardsDeck
 java.util.ArrayList<Card> Game.normalizeCards(Color player)
          Rotate (normalize) the cards for player depending on the position of the crown.
 

Methods in de.htwdd.rosenkoenig.game with parameters of type Card
 boolean Game.cardKnightable(Card card)
           
 boolean Game.cardPlayable(Card card)
           
 boolean Game.isCardPlayable(Card card, boolean withKnight)
          Checks for active player if card is playable.
 boolean Game.isCardPlayable(Color player, Card card, boolean withKnight)
          Checks for player if card is playable.
 void Game.selectCard(Card card)
           
 void Game.setNextCard(Card nextCard)
          Setter of the property nextCard
 

Method parameters in de.htwdd.rosenkoenig.game with type arguments of type Card
 void Player.setCards(java.util.ArrayList<Card> cards)
          Setter of the property cards
 void Game.setDrawDeck(java.util.List<Card> drawDeck)
          Setter of the property drawDeck
 void Game.setPlayedCardsDeck(java.util.List<Card> playedCardsDeck)
          Setter of the property playedCardsDeck
 

Uses of Card in de.htwdd.rosenkoenig.gui
 

Methods in de.htwdd.rosenkoenig.gui with parameters of type Card
 void GUI.setPlayedDeck(int number, Card playedCard)
          Sets the number of cards left in the played cards deck.
 void GameLogger.setPlayedDeck(int number, Card playedCard)
          Sets the number of cards left in the played cards deck.
 

Method parameters in de.htwdd.rosenkoenig.gui with type arguments of type Card
 void GUI.setCards(Color color, java.util.List<Card> cards)
          This method is called whenever a player's card deck has changed and sets a player's card deck.
 void GameLogger.setCards(Color color, java.util.List<Card> cards)
          This method is called whenever a player's card deck has changed and sets a player's card deck.
 

Uses of Card in de.htwdd.rosenkoenig.gui.genuts
 

Fields in de.htwdd.rosenkoenig.gui.genuts declared as Card
private  Card GUICard.card
           
 

Methods in de.htwdd.rosenkoenig.gui.genuts with parameters of type Card
 void GenutsGUI.setPlayedDeck(int number, Card playedCard)
          Sets the number of cards left in the played cards deck.
 

Method parameters in de.htwdd.rosenkoenig.gui.genuts with type arguments of type Card
 void GenutsGUI.setCards(Color color, java.util.List<Card> cards)
          This method is called whenever a player's card deck has changed and sets a player's card deck.
 

Constructors in de.htwdd.rosenkoenig.gui.genuts with parameters of type Card
GUICard(Card card, Game game, PlayField playfield, Color color)
          Creates and initializes a GUICard