Package | Description |
---|---|
com.putable.client |
Provides the classes specific to the client
|
com.putable.client.gui |
Provides the classes necessary to construct the client's GUI
|
com.putable.client.matrix |
Provides the matrix class specific to the client
|
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
|
tests |
Provides the classes for JUnit tests
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ObjID,NetPuzlObject> |
NetPuzlClient.cache
The cache/symbol table of NetPuzlObjects and their associated object IDs
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ObjID,NetPuzlObject> |
NetPuzlClient.getCache()
Returns the cache
|
Modifier and Type | Method and Description |
---|---|
private void |
Gui.talkToNetPuzlObject(NetPuzlObject npo,
java.lang.String message) |
private void |
Gui.whisperToNetPuzlObject(NetPuzlObject npo,
java.lang.String message) |
Modifier and Type | Class and Description |
---|---|
class |
ClientMatrix
This class is the client's representation of a matrix.
|
Constructor and Description |
---|
ClientMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a ClientMatrix with the given parameters
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMatrix
An abstract implementation of a Matrix in a NetPuzl world
|
class |
Agent
The basic 'active' element of a NetPuzl world -- either a human or robot
client
|
class |
Image
A representation of an arbitrary image that can be used as an 'icon' for a
token or an agent (and possibly a matrix or key as well, depending on the
NetPuzl client
|
class |
Key
A representation of a command that can normally be invoked from a keyboard
when running a NetPuzl client GUI
|
class |
Token
A Token in a Matrix can be clicked on (or spoken to or heard from)
|
Modifier and Type | Method and Description |
---|---|
boolean |
Matrix.contains(NetPuzlObject npo)
Determines if this Matrix contains the given NetPuzlObject
|
boolean |
AbstractMatrix.contains(NetPuzlObject npo) |
void |
Matrix.sendHearTagToMatrix(NetPuzlObject from,
NetPuzlObject to,
java.lang.String text)
Sends a 'hear' Tag from one NetPuzlObject to another to be broadcast to
all Agents in this Matrix
|
void |
AbstractMatrix.sendHearTagToMatrix(NetPuzlObject from,
NetPuzlObject to,
java.lang.String text) |
void |
Matrix.sendHearTagToNPO(NetPuzlClientProxy proxy,
NetPuzlObject from,
NetPuzlObject to,
java.lang.String text)
Sends a 'hear' Tag from one NetPuzlObject to another to be broadcast to
the Agent involved
|
void |
AbstractMatrix.sendHearTagToNPO(NetPuzlClientProxy proxy,
NetPuzlObject from,
NetPuzlObject to,
java.lang.String text) |
Constructor and Description |
---|
AbstractMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs an AbstractMatrix with the given parameters
|
Agent(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs an Agent with the given parameters
|
Image(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs an Image with the given parameters
|
Key(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a Key with the given parameters
|
NetPuzlObject(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a NetPuzlObject with the given parameters
|
Token(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a Token with the given parameters
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ObjID,NetPuzlObject> |
NetPuzlServer.cache
The cache/symbol table of NetPuzlObjects and their associated object IDs
|
private java.util.Map<ObjID,NetPuzlObject> |
NetPuzlClientProxy.clientCache
The client's cache of NetPuzlObjects and their associated object IDs
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ObjID,NetPuzlObject> |
NetPuzlServer.getCache()
Gets the map that holds the cache/symbol table of this server
|
Modifier and Type | Method and Description |
---|---|
static Image |
ImageFactory.produce(java.io.File imageFile,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces an Image with a unique object ID and the given parameters
|
static Matrix |
MatrixFactory.produce(MatrixType matrixType,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces a Matrix of with a unique object ID and the given parameters in
the given Map
|
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
|
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
|
static Key |
KeyFactory.produce(java.lang.String button,
java.lang.String description,
java.util.Map<ObjID,NetPuzlObject> cache)
Produces a Key with a unique ID and the given parameters
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHeinekenGame
An abstract implementation of a Heineken game
|
class |
HeinekenMathMatrix
A math game designed to require deeper interaction than clicking on buttons.
|
class |
HeinekenMatrix
A 'Whack-a-mole' game in true Heineken style
|
class |
HomeMatrix
This is the home matrix class where a client goes when he is born, all other
matrices can be accessed from here.
|
class |
PairPanickingMatrix
Team Heineken's implementation of PairPanicking as described by
http://cs.unm.edu/~ackley/351/projects/3/1.0/PairPanicking.txt
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ObjID,NetPuzlObject> |
AbstractHeinekenGame.cache
The cache that links object IDs to their NetPuzlObjects
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ObjID,NetPuzlObject> |
AbstractHeinekenGame.getCache()
Gets the cache that links object IDs to their NetPuzlObjects
|
Modifier and Type | Method and Description |
---|---|
private void |
HomeMatrix.setColorsOfNPO(NetPuzlObject npo,
java.awt.Color bgColor,
java.awt.Color fgColor)
This method sets the colors of a NetPuzlObject.
|
Modifier and Type | Method and Description |
---|---|
private void |
HomeMatrix.loadColorToken(java.util.Map<ObjID,NetPuzlObject> cache)
This method loads a color token.
|
private void |
HomeMatrix.loadHeinekenMathToken(java.util.Map<ObjID,NetPuzlObject> cache)
This method loads a Heineken Math token.
|
private void |
HomeMatrix.loadHeinekenToken(java.util.Map<ObjID,NetPuzlObject> cache)
This method loads a Heineken token from cache.
|
private void |
HomeMatrix.loadHelpToken(java.util.Map<ObjID,NetPuzlObject> cache)
This method loads a help token.
|
private void |
HomeMatrix.loadPlayersToken(java.util.Map<ObjID,NetPuzlObject> cache)
This method loads players token.
|
private void |
HomeMatrix.loadPPToken(java.util.Map<ObjID,NetPuzlObject> cache)
This loads a pair panicking token.
|
private void |
HomeMatrix.loadTokens(java.util.Map<ObjID,NetPuzlObject> cache)
This method calls all the other load methods to generate this home
matrix.
|
Constructor and Description |
---|
AbstractHeinekenGame(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a Heineken game with the given parameters
|
HeinekenMathMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a Heineken Math game with the given parameters
|
HeinekenMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a Heineken Matrix game with the given parameters
|
HomeMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
This is the constructor for the HomeMatrix class that extends the
AbstractMatrix class this uses the default Matrix for now.
|
PairPanickingMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a PairPanicking game with the given parameters
|
Modifier and Type | Class and Description |
---|---|
class |
BasicTestMatrix
A basic test for the Matrix class.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ObjID,NetPuzlObject> |
MatrixTest.cache
A cache/symbol table of NetPuzlObjects and their associated object IDs
|
private java.util.Map<ObjID,NetPuzlObject> |
FactoryClassesTest.cache
A cache/symbol table of NetPuzlObjects and their associated object IDs
|
Constructor and Description |
---|
BasicTestMatrix(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
A constructor for this test.
|