Package | Description |
---|---|
com.putable.common.matrix |
Provides the classes necessary to construct a Matrix object
|
com.putable.server |
Provides the classes specific to the server
|
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 Agent |
ClickFunction.clicker
The Agent who clicked the Token
|
private Agent |
SayFunction.sayer
The Agent who spoke to the NetPuzlObject
|
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Agent> |
AbstractMatrix.agents
The Agents contained in this Matrix
|
Modifier and Type | Method and Description |
---|---|
Agent |
ClickFunction.getClicker()
Gets the Agent who clicked the Token
|
Agent |
SayFunction.getSayer()
Gets the Agent who spoke to the NetPuzlObject
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Agent> |
Matrix.getAgentIterator()
Gets an iterator over the elements in the container for agents.
|
java.util.Iterator<Agent> |
AbstractMatrix.getAgentIterator() |
java.util.Set<Agent> |
Matrix.getAgents()
Gets the Set of Agents in this Matrix
|
java.util.Set<Agent> |
AbstractMatrix.getAgents() |
Modifier and Type | Method and Description |
---|---|
void |
Matrix.addAgent(Agent agent)
Adds an Agent to this Matrix
|
void |
AbstractMatrix.addAgent(Agent agent) |
void |
Matrix.removeAgent(Agent agent)
Removes an agent from this Matrix
|
void |
AbstractMatrix.removeAgent(Agent agent) |
void |
ClickFunction.setClicker(Agent clicker)
Sets the Agent who clicked on the Token
|
void |
SayFunction.setSayer(Agent sayer)
Sets the Agent who spoke to the NetPuzlObject
|
Modifier and Type | Field and Description |
---|---|
private Agent |
NetPuzlClientProxy.agent
Agent object of the client connected
|
Modifier and Type | Method and Description |
---|---|
Agent |
NetPuzlClientProxy.getAgent()
Returns the agent
|
Modifier and Type | Method and Description |
---|---|
static Agent |
AgentFactory.produce(java.lang.String name,
java.lang.String address,
java.awt.Color bgColor,
java.awt.Color fgColor,
Image image,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces an Agent with a unique object ID and the given parameters
|
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
|
private void |
HeinekenMathMatrix.getHelp(Agent agent)
Sends an Agent this Heineken Math game's rules
|
private void |
HeinekenMathMatrix.goHome(Agent agent)
Returns an Agent to Home Matrix
|
void |
AbstractHeinekenGame.setAgentEnergy(Agent agent,
int energy)
Sets the energy Attribute of an Agent
|
private void |
HeinekenMathMatrix.startGame(Agent agent)
Starts this Heineken Math game
|