Package | Description |
---|---|
client.map.view.helpers | |
shared.definitions | |
shared.model | |
shared.model.map.handlers | |
shared.model.map.model | |
shared.model.map.objects |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<PortType,java.awt.image.BufferedImage> |
ImageHandler.PORT_RESOURCE_IMAGES |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
ImageHandler.getPortResourceImage(PortType portType)
Gets the image associated with a port.
|
static java.lang.String |
ImageLocation.getPortResourceImageFile(PortType portType)
Gets the relative location for port file images.
|
private java.awt.image.BufferedImage |
ImageHandler.loadPortResourceImage(PortType portType) |
Modifier and Type | Method and Description |
---|---|
static PortType |
PortType.GetFromResource(ResourceType type) |
static PortType |
PortType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortType[] |
PortType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PortType.MatchedResource(PortType port,
ResourceType type) |
Modifier and Type | Method and Description |
---|---|
private PortType |
Translate.GetPortType(int ratio,
ResourceType type)
Helper function for fromNetMap function
|
Modifier and Type | Method and Description |
---|---|
PortType |
PortHandler.GetPort(Coordinate vertex)
Gets the port at the specified vertex.
|
Modifier and Type | Method and Description |
---|---|
void |
PortHandler.AddPort(PortType type,
Edge edge,
Hex hex)
Adds a port to a hex.
|
Modifier and Type | Method and Description |
---|---|
private static PortType |
MapGenerator.GetRandomPort(java.util.List<PortType> ports) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<PortType> |
UnmodifiableMapModel.GetPorts(CatanColor color) |
java.util.Iterator<PortType> |
MapModel.GetPorts(CatanColor color) |
java.util.Iterator<PortType> |
IMapModel.GetPorts(CatanColor color)
Gets the ports available to a specific piece color.
|
private static java.util.List<PortType> |
MapGenerator.GetPortTypes() |
Modifier and Type | Method and Description |
---|---|
void |
UnmodifiableMapModel.PlacePort(PortType type,
Coordinate hexCoordinate,
Coordinate edgeStart,
Coordinate edgeEnd) |
void |
MapModel.PlacePort(PortType type,
Coordinate hexCoordinate,
Coordinate edgeStart,
Coordinate edgeEnd) |
void |
IMapModel.PlacePort(PortType type,
Coordinate hexCoordinate,
Coordinate edgeStart,
Coordinate edgeEnd)
Sets a vertex as a port
|
Modifier and Type | Method and Description |
---|---|
private static PortType |
MapGenerator.GetRandomPort(java.util.List<PortType> ports) |
Modifier and Type | Field and Description |
---|---|
private PortType |
Hex.port |
Modifier and Type | Method and Description |
---|---|
PortType |
Hex.getPort() |
Modifier and Type | Method and Description |
---|---|
void |
Hex.setPort(PortType port) |