Package | Description |
---|---|
client.map.view.helpers | |
shared.definitions | |
shared.model.map | |
shared.model.map.model | |
shared.model.map.objects |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<HexType,java.awt.image.BufferedImage> |
ImageHandler.HEX_IMAGES |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
ImageHandler.getHexImage(HexType hexType)
Gets the image associated with a hex.
|
static java.lang.String |
ImageLocation.getHexImageFile(HexType hexType)
Gets the relative location for hex images.
|
private java.awt.image.BufferedImage |
ImageHandler.loadHexImage(HexType hexType) |
Modifier and Type | Method and Description |
---|---|
static HexType |
HexType.GetFromResource(ResourceType type) |
static HexType |
HexType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HexType[] |
HexType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ResourceType |
ResourceType.fromHex(HexType hex) |
Modifier and Type | Field and Description |
---|---|
private HexType |
Transaction.hexType |
Modifier and Type | Method and Description |
---|---|
HexType |
Transaction.getHexType() |
Constructor and Description |
---|
Transaction(HexType hexType,
PieceType pieceType,
CatanColor color)
Creates a transaction object.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<HexType> |
MapGenerator.GetHexTypeList() |
java.util.Iterator<HexType> |
UnmodifiableMapModel.GetResources(Coordinate point) |
java.util.Iterator<HexType> |
MapModel.GetResources(Coordinate point) |
java.util.Iterator<HexType> |
IMapModel.GetResources(Coordinate point)
Gets the resources sourrounding a vertex.
|
Modifier and Type | Method and Description |
---|---|
void |
UnmodifiableMapModel.PlaceHex(HexType type,
Coordinate point) |
void |
MapModel.PlaceHex(HexType type,
Coordinate point) |
void |
IMapModel.PlaceHex(HexType type,
Coordinate point)
Creates a hex at the specified location.
|
Modifier and Type | Field and Description |
---|---|
private HexType |
Hex.type |
Modifier and Type | Method and Description |
---|---|
HexType |
Hex.getType() |
Constructor and Description |
---|
Hex(HexType type,
Coordinate point)
Creates a hex object.
|