|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Intelligence
which includes a knowledge representation of the current Game
.Card
to the end of this CardArray
.
Card
s (if any) in the given CardArray
to the end of this CardArray
.
Rank
and a Suit
.Card
s.Card
objects, which can be manipulated in various ways.CardArray
.
CardArray
, initialized with the given Card
s.
Intelligence
that a card has been played.
Game
object, and then invokes cardPlayedEvent
.
CardArray
s.
Sort.Action
to take when comparing Card
s.
Sort.Action
corresponding to this
Order
given the two objects.
Sort.Order.compare
method by invoking
this object's Card.Order.compare(Card,Card)
method.
Order
which is a composite of the given Order
s.
CardArray
contains the given Card
.
CardArray
contains all of the Card
s in the given
CardArray
.
CardArray
contains at least one Card
which is also contained in the
given CardArray
.
CardArray
.
Intelligence
that it is about to be destroyed.
destroyEvent
.
Action
indicating that the two objects are equal in this ordering and can be placed in
arbitrary order.
Rank
is equal to the given object.
Object
.
Intelligence
that an exception was thrown from one of its methods
(other than getPass
or getPlay
; an Intelligence
is informed of exceptions from these methods via
passIgnored
and playIgnored
, respectively); may be useful for
debugging.
Intelligence
that the game in which it was participating has ended.
gameEndedEvent
, and then discards the Game
object.
Intelligence
that a game is starting, and provides a Game
object representing
the current game.
Game
object which is associated with the game
argument,
and then invokes gameStartingEvent
.
Card
s in this CardArray
.
Hearts
class.
Card
at the given index in this CardArray
.
Card
object of the given Rank
and Suit
.
CardArray
containing the Card
s in this CardArray
which are of the given
Suit
.
Rank
.
Sort.Order
which will sort a set of Card
s (not Rank
s)
into ascending order, as specified by this Rank.Order
.
Storage
.
Storage
can hold.
Card
played by the Intelligence
at the given player index on this Trick
,
or null
if the Intelligence
at index
has not played a Card
on this Trick
yet.
Intelligence
is permitted to see them.
CardArray
containing the Card
s in this Kitty
,
or null
if this
AbstractIntelligence
is not allowed to see them.
Card
s currently in this AbstractIntelligence
's hand.
CardArray
containing the Card
s, in order, which have been played in this
Trick
.
Intelligence.Game
object associated with this Game
.
CardArray
which are of the given Suit
.
Hand
.
Trick
in this Hand
.
Intelligence
.
Sort.Order
which will sort a set of Card
s (not Rank
s)
into descending order, as specified by this Rank.Order
.
AbstractIntelligence
is running.
Game
.
Hand
.
CardArray
that was dealt to this AbstractIntelligence
during this
Hand
.
Kitty
associated with this Trick
, if any.
Intelligence
who led, or will lead, this Trick
.
CardArray
containing the Card
s which would be legal to play if this
AbstractIntelligence
is playing next.
Card
s in this CardArray
.
Intelligence.Game.Log
for this game.
Rank
.
Suit
.
Intelligence.Game
.
Intelligence
for Card
s to pass to another player.
CardArray
containing the number of cards indicated by the numberToPass
argument.
Hand
.
Hand
.
Hand
.
Intelligence
to play a Card
.
Card
this AbstractIntelligence
wishes to play.
Intelligence
that played a card.
Card
was passed.
Intelligence
who will lead this trick.
Hand
s played in this Game
.
Trick
s which have taken place during this Hand
.
Rank
of this Card
.
Rank.Order
which defines which Card
s are higher or lower than others in the game of Hearts.
Rank
objects typically included in a Hearts deck.
Intelligence.Game.Rules
for this game.
Game
.
Game
.
Hand
.
Card
s in this Kitty
.
Storage
from which data may be read, or to which data may be written,
which will persist after an Intelligence
is destroy
ed.
Storage
object associated with the Intelligence.Environment.Storage
object from
this AbstractIntelligence
's Intelligence.Environment
.
Suit
of this Card
.
Suit
objects representing the suits normally used in Hearts.
Suit
, e.g., '♣' for Suit.CLUBS
.
Card
s which must be taken by a single player in order to execute a take-all.
Intelligence
which took this
Trick
, or -1
if the trick is not over or the information is not known yet
(i.e., Intelligence.trickEnded
has not been
invoked yet).
Trick
.
Trick
s in this hand, not including the current
Trick
.
Rules.getValue(CardArray)
of the given Card
in the current Game
.
CardArray
, as if they were the cards
taken in a particular hand.
Rules.getValue
of the given CardArray
in the current Game
.
Rank
in this ordering.
Game
, in the sense of a complete deal and play of all the
cards, not in the sense of the cards that a player is holding.Intelligence
that the current hand has ended.
Game
object, and then invokes handScoredEvent
.
Intelligence
that a hand has been dealt, and provides it with a Intelligence.Hand
object
representing the current hand.
Game
object, and then invokes
handDealtEvent
.
Intelligence
that it has been instantiated, and provides it with an
Environment
from which it can obtain various services.
Intelligence
implementation and associated classes which represent current
Game
state.Intelligence
with services from, or information about, the environment
in which it is running.Intelligence
to persist data.Intelligence
s about a game in which they are participating.Intelligence
can use to determine the rules under which a Game
is being played.Intelligence
objects about a hand in which they are
participating.Intelligence
is participating.CardArray
containing all of the Card
s that are found in all the
argument CardArray
s.
CardArray
is currently empty.
Card
is higher than the second, by Rank
only.
Card
is higher than the given Rank
.
Card
would be a legal play for a player under these Rules
,
given the situation defined by the previousTricks
, currentTrick
, and hand
arguments.
Card
is lower than the second, by Rank
only.
Card
is lower than the given Rank
.
Card
and this Card
have the same Rank
.
Card
s are of the same suit.
Card
and this Card
have the same Suit
.
Card
s left over after dealing in a Game
where the Card
s in the
deck are not evenly divisible by the number of players.Intelligence
that a player has taken the kitty for this hand.
Game
object, and then invokes tookKittyEvent
.
Action
indicating that the two objects are already in the correct order.
Intelligence
that the result of getPass
was not used, including a
String
message describing why.
Game
.
Intelligence
that the result of getPlay
was not used, including a
String
message describing why.
Intelligence
implementation which plays randomly.
Card
.Rank
s; can be used to sort arrays of Card
s and CardArray
objects
via the Sort.Order
s returned by getAscendingOrder
and
getDescendingOrder
, in conjunction with
CardArray's sort
method.Rank
s.
boolean
starting at the cursor position.
byte
starting at the cursor position.
char
starting at the cursor position.
double
starting at the cursor position.
float
starting at the cursor position.
int
starting at the cursor position.
long
starting at the cursor position.
short
starting at the cursor position.
String
starting at the cursor position.
Intelligence
that it has received cards from another player.
Game
object, and then invokes
receivedPassEvent
.
Card
from this CardArray
.
Card
s in the given CardArray
from this CardArray
.
Order
which is the reverse of the given Order
.
Intelligence
that it has passed cards to another player.
Game
object, and then invokes
sentPassEvent
.
Card
s in this CardArray
into random order.
Sort.Order
.
Card
s in this CardArray
into the given Sort.Order
.
AbstractIntelligence
for persistent storage of data.Card
s have a particular Suit
.Action
indicating that the two objects are in the wrong order and should be swapped.
Suit
.
String
which lists the Card
s in this CardArray
, which may be useful for
debugging.
Hand
.Intelligence
that the current trick has ended.
Game
object, and then invokes trickEndedEvent
.
Intelligence
that a trick is about to start, and provides it with a Intelligence.Trick
object representing the current trick.
Game
object, and then invokes trickStartingEvent
.
Storage
, starting at the cursor position.
boolean
starting at the cursor position.
byte
starting at the cursor position.
char
starting at the cursor position.
double
starting at the cursor position.
float
starting at the cursor position.
int
starting at the cursor position.
long
starting at the cursor position.
short
starting at the cursor position.
String
starting at the cursor position.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |