Index

B C G N O P R T V Y 
All Classes and Interfaces|All Packages

B

BLUE - Enum constant in enum class cs1302.gameutil.Token
A blue token.

C

cs1302.gameutil - package cs1302.gameutil
Provides some utility classes and enum classes for games.
CYAN - Enum constant in enum class cs1302.gameutil.Token
A cyan token.

G

GamePhase - Enum Class in cs1302.gameutil
A GamePhase object can be used to represent a phase of a game.
GREEN - Enum constant in enum class cs1302.gameutil.Token
A green token.

N

names() - Static method in enum class cs1302.gameutil.Token
Returns an array containing the names of the constants of this enum class, in the order they are declared.
NEW - Enum constant in enum class cs1302.gameutil.GamePhase
A newly constructed game is in this phase.

O

OVER - Enum constant in enum class cs1302.gameutil.GamePhase
A game that has ended is in this phase.

P

PLAYABLE - Enum constant in enum class cs1302.gameutil.GamePhase
A game that is being played is in this phase.
println(Token[][]) - Static method in class cs1302.gameutil.TokenGrid
Print grid to standard output, including row and column indices.
println(Token[][], boolean) - Static method in class cs1302.gameutil.TokenGrid
Print grid to standard output, including or excluding row and column indices as specified by showIndices.
PURPLE - Enum constant in enum class cs1302.gameutil.Token
A purple token.

R

READY - Enum constant in enum class cs1302.gameutil.GamePhase
A game that is ready to be played is in this phase.
RED - Enum constant in enum class cs1302.gameutil.Token
A red token.

T

toColorString() - Method in enum class cs1302.gameutil.Token
Return the colorful string representation of this Token object.
Token - Enum Class in cs1302.gameutil
A Token object can be used to represent a player or a player's item in a game.
TokenGrid - Class in cs1302.gameutil
The TokenGrid class includes convenience methods to display a two-dimensional array of tokens.
toPlainString() - Method in enum class cs1302.gameutil.Token
Return the plain string representation of this Token object.
toString() - Method in enum class cs1302.gameutil.Token
Return a colorful string representation of this Token object.

V

valueOf(String) - Static method in enum class cs1302.gameutil.GamePhase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cs1302.gameutil.Token
Returns the enum constant of this class with the specified name.
values() - Static method in enum class cs1302.gameutil.GamePhase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cs1302.gameutil.Token
Returns an array containing the constants of this enum class, in the order they are declared.

Y

YELLOW - Enum constant in enum class cs1302.gameutil.Token
A yellow token.
B C G N O P R T V Y 
All Classes and Interfaces|All Packages