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
|
tests |
Provides the classes for JUnit tests
|
Modifier and Type | Field and Description |
---|---|
private Image |
Attributes.image
The Image of the NetPuzlObject
|
Modifier and Type | Method and Description |
---|---|
Image |
Attributes.getImage()
Gets the image of this Attributes object
|
Modifier and Type | Method and Description |
---|---|
boolean |
Matrix.containsImage(Image image)
Determines if this Matrix contains the given Image
|
boolean |
AbstractMatrix.containsImage(Image image) |
private void |
Attributes.initializeAttributes(java.lang.String name,
java.lang.String text,
int energy,
java.awt.Color bgColor,
java.awt.Color fgColor,
int x,
int y,
Image image)
This method sets an Attributes value to some "default values," used for
instantiation of an Attributes object.
|
void |
Attributes.setImage(Image image)
Sets the image of this Attributes object
|
Constructor and Description |
---|
Attributes(java.lang.String name,
java.lang.String text,
int energy,
java.awt.Color bgColor,
java.awt.Color fgColor,
int x,
int y,
Image image)
Constructs an Attributes object with the given parameters
|
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
|
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
|
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 Image |
HeinekenMatrix.bottleImage
The Image of the clickable Heineken bottle button
|
private Image |
HeinekenMatrix.grassImage
The Image of each of the 63 background buttons
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,Image> |
PairPanickingMatrix.beers
The table that links each symbol with a beer image
|
Modifier and Type | Field and Description |
---|---|
private Image |
FactoryClassesTest.image
The image of a NetPuzlObject
|