|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Deck | |
---|---|
ch.aplu.jcardgame | Addon package of the JDroidLib framework for developing card game applications. |
Uses of Deck in ch.aplu.jcardgame |
---|
Methods in ch.aplu.jcardgame that return Deck | |
---|---|
Deck |
Card.getDeck()
Returns the deck reference attributed to this card. |
Constructors in ch.aplu.jcardgame with parameters of type Deck | |
---|---|
Card(Deck deck,
int cardNb)
Creates a card instance from given deck using the give card number Keep in mind that the current card actor is undefined (null) until the card is displayed in the gamegrid using the hand's draw() method or attributeActor() is called. |
|
Card(Deck deck,
T suit,
R rank)
Same as Create(deck, suit, rank, isVerso) with isVerso = false. |
|
Card(Deck deck,
T suit,
R rank,
boolean isVerso)
Creates a card instance from given deck using the given suit and rank. |
|
CardCover(GameGrid gameGrid,
Location location,
Deck deck,
double scaleFactor,
double rotationAngle)
Same as CardCover(gameGrid, location, deck, scaleFactor, rotationAngle, hide) with show = true. |
|
CardCover(GameGrid gameGrid,
Location location,
Deck deck,
double scaleFactor,
double rotationAngle,
boolean show)
Creates a transformed card cover actor from the seed actor of the first card in the given deck and adds it at the given location to the given game grid. |
|
Hand(Deck deck)
Creates a hand instance with game cards from the given deck. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |