public class LocationType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ImageWithHotSpot |
image
image that depicts the location on the simulated game board (use empty image if it is not needed
|
java.lang.String |
name
name of the location
|
boolean |
relevant
determines if locations of this type should be taken into account when comparing state for equality
|
LocationShape |
shape
shape of the location where it is sensitive to mouse-clicking for the simulated-game human player
|
Constructor and Description |
---|
LocationType(java.lang.String name)
create a new location type with this name, fill other parameters manually
|
public java.lang.String name
public ImageWithHotSpot image
public LocationShape shape
public boolean relevant