Package | Description |
---|---|
com.putable.common.matrix |
Provides the classes necessary to construct a Matrix object
|
com.putable.server.factoryClasses |
Provides factory classes that produce unique objects for the server
|
com.putable.server.matrix |
Provides the matrix classes specific to the server
|
Modifier and Type | Field and Description |
---|---|
private Token |
SayFunction.token
The Token to be spoken to, or null if none
|
private Token |
ClickFunction.token
The Token to be clicked
|
private Token |
Cell.token
The Token contained in this Cell, or null if none
|
Modifier and Type | Method and Description |
---|---|
Token |
SayFunction.getToken()
Gets the Token to be spoken to
|
Token |
ClickFunction.getToken()
Gets the Token to be clicked
|
Token |
Cell.getToken()
Gets the token contained in this Cell
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Token> |
Matrix.getTokens()
Gets the List of Tokens from this Matrix's grid
|
java.util.List<Token> |
AbstractMatrix.getTokens() |
Modifier and Type | Method and Description |
---|---|
void |
Matrix.addToken(Token token)
Adds a Token to this Matrix
|
void |
AbstractMatrix.addToken(Token token) |
boolean |
Matrix.containsToken(Token token)
Determines if this Matrix contains the given Token
|
boolean |
AbstractMatrix.containsToken(Token token) |
void |
Matrix.removeToken(Token token)
Removes a Token from this Matrix
|
void |
AbstractMatrix.removeToken(Token token) |
void |
SayFunction.setToken(Token token)
Sets the Token to be spoken to
|
void |
ClickFunction.setToken(Token token)
Sets the Token to be clicked
|
void |
Cell.setToken(Token token)
Sets the Token this Cell contains
|
Constructor and Description |
---|
Cell(int x,
int y,
Token tk,
int width,
int height,
int marginX,
int marginY)
This is the constructor for the Cell object builds a new instance of a
cell and updates its token reference to the given reference.
|
ClickFunction(Token token)
Constructs a ClickFunction with the Token to be clicked
|
SayFunction(Token token)
Constructs a SayFunction with the Token to be spoken to
|
Modifier and Type | Method and Description |
---|---|
static Token |
TokenFactory.produce(java.lang.String buttonText,
java.lang.String buttonTooltip,
java.awt.Color bgColor,
java.awt.Color fgColor,
int x,
int y,
Image image,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces a Token with a unique object ID and the given parameters
|
Modifier and Type | Field and Description |
---|---|
private Token |
HeinekenMatrix.clickableToken
The clickable Heineken bottle in this Heineken Matrix game
|
private Token |
PairPanickingMatrix.showing
The game button that is showing during 'SHOW1' game status
|
private Token |
AbstractHeinekenGame.start
The 'Start' button of this Heineken game, or null if none
|
private Token |
AbstractHeinekenGame.status
The 'Status' button of this Heineken game
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Token,java.lang.Integer> |
HeinekenMathMatrix.answers
The table that links each game button with an answer
|
private java.util.List<Token> |
PairPanickingMatrix.gameTokens
The 64 game buttons of this PairPanicking game
|
private java.util.List<Token> |
HeinekenMathMatrix.gameTokens
The 64 game buttons of this Heineken Math game
|
private java.util.List<Token> |
HeinekenMatrix.hListTokens
The 63 background buttons of this Heineken Matrix game
|
private java.util.Map<Token,java.lang.String> |
PairPanickingMatrix.symbolTable
The table that links each game button with a symbol
|
Modifier and Type | Method and Description |
---|---|
Token |
AbstractHeinekenGame.getStartToken()
Gets the 'Start' button of this Heineken game
|
Token |
AbstractHeinekenGame.getStatusToken()
Gets the 'Status' button of this Heineken game
|
Modifier and Type | Method and Description |
---|---|
private void |
HeinekenMathMatrix.defaultHelpTokenBehavior(Agent agent,
Token help)
What the 'Help' button usually says when clicked or spoken to
|
private void |
HeinekenMatrix.gameNotActiveYet(Agent agent,
Token token)
What a game button says when clicked on while the game is inactive
|
void |
AbstractHeinekenGame.setStartToken(Token start)
Sets the 'Start' button of this Heineken game
|
void |
AbstractHeinekenGame.setStatusToken(Token status)
Sets the 'Status' button of this Heineken game
|
private void |
PairPanickingMatrix.setTokenTo(Token token,
java.lang.String name,
int energy,
boolean displayImg)
Sets a game Token to the given parameters
|
private void |
PairPanickingMatrix.setTokenToHidden(Token token)
Sets a game Token to hidden status
|
private void |
PairPanickingMatrix.setTokenToShowing(Token token)
Sets a game Token to showing status
|
private void |
PairPanickingMatrix.setTokenToSolved(Token token)
Sets a game Token to solved status
|
private void |
HeinekenMathMatrix.setTokenToSolved(Token token)
Sets a math button to 'SOLVED' status
|