A C D F G H I J K M Q R S T U 
All Classes All Packages

A

ACE - Static variable in class Card
 
addCard(Card) - Method in class Hand
Add a card to the hand.

C

Card - Class in <Unnamed>
An object of type Card represents a playing card from a standard Poker deck, including Jokers.
Card() - Constructor for class Card
Creates a Joker, with 1 as the associated value.
Card(int, int) - Constructor for class Card
Creates a card with a specified suit and value.
cardsLeft() - Method in class Deck
As cards are dealt from the deck, the number of cards left decreases.
clear() - Method in class Hand
Remove all cards from the hand, leaving it empty.
CLUBS - Static variable in class Card
 

D

dealCard() - Method in class Deck
Removes the next card from the deck and return it.
Deck - Class in <Unnamed>
An object of type Deck represents a deck of playing cards.
Deck() - Constructor for class Deck
Constructs a regular 52-card poker deck.
Deck(boolean) - Constructor for class Deck
Constructs a poker deck of plaing cards, The deck contains the usual 52 cards and can optionally contain two Jokers in addition, for a total of 54 cards.
DIAMONDS - Static variable in class Card
 
draw(GraphicsContext) - Method in class TextBanner
Draw the banner.

F

freeze() - Method in class FreezeDice
Freeze the die - subsequent rolls will not change the value.
FreezeDice - Class in <Unnamed>
A single die that can be frozen.
FreezeDice(int) - Constructor for class FreezeDice
Create a new, unfrozen die with the specified number of sides.

G

getCard(int) - Method in class Hand
Gets the card in a specified position in the hand.
getCardCount() - Method in class Hand
Returns the number of cards in the hand.
getSuit() - Method in class Card
Returns the suit of this card.
getSuitAsString() - Method in class Card
Returns a String representation of the card's suit.
getValue() - Method in class Card
Returns the value of this card.
getValue() - Method in class FreezeDice
Get the die's current value.
getValueAsString() - Method in class Card
Returns a String representation of the card's value.

H

Hand - Class in <Unnamed>
 
Hand() - Constructor for class Hand
Create a hand that is initially empty.
hasJokers() - Method in class Deck
Test whether the deck contains Jokers.
HEARTS - Static variable in class Card
 

I

isFrozen() - Method in class FreezeDice
Is the die frozen?

J

JACK - Static variable in class Card
 
JOKER - Static variable in class Card
 

K

KING - Static variable in class Card
 

M

move() - Method in class TextBanner
Update the banner's position.

Q

QUEEN - Static variable in class Card
 

R

removeCard(int) - Method in class Hand
Remove the card in a specified position from the hand.
removeCard(Card) - Method in class Hand
Remove a card from the hand, if present.
roll() - Method in class FreezeDice
Roll the die.

S

setSpeed(double, double) - Method in class TextBanner
Set the banner's speed.
shuffle() - Method in class Deck
Put all the used cards back into the deck (if any), and shuffle the deck into a random order.
sortBySuit() - Method in class Hand
Sorts the cards in the hand so that cards of the same suit are grouped together, and within a suit the cards are sorted by value.
sortByValue() - Method in class Hand
Sorts the cards in the hand so that cards of the same value are grouped together.
SPADES - Static variable in class Card
 

T

TextBanner - Class in <Unnamed>
An animated text banner.
TextBanner(String, double, double, Color) - Constructor for class TextBanner
Create a new text banner with the specified message, starting position, and color.
toString() - Method in class Card
Returns a string representation of this card, including both its suit and its value (except that for a Joker with value 1, the return value is just "Joker").

U

unfreeze() - Method in class FreezeDice
Unfreeze the die - subsequent rolls can change the value.
A C D F G H I J K M Q R S T U 
All Classes All Packages