Package | Description |
---|---|
client.map | |
client.map.view | |
client.map.view.dropObject | |
server.ai.characters.personalities | |
shared.model.map.handlers | |
shared.model.map.model |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Edge> |
MapController.GetEdges() |
java.util.Iterator<Edge> |
IMapController.GetEdges()
Gets all the edges in the map.
|
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
MapController.GetPorts() |
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
IMapController.GetPorts()
Gets all the ports on the map.
|
Modifier and Type | Method and Description |
---|---|
private void |
MapComponent.drawRoads(java.awt.Graphics2D g2,
Edge edge,
CatanColor color) |
private static double |
MapComponent.getEdgeAngle(Edge edge) |
private static java.awt.geom.Point2D |
MapComponent.getEdgeCenterPoint(Edge edge) |
private int |
MapComponent.getPortRotation(Hex hex,
Edge edge) |
Modifier and Type | Method and Description |
---|---|
Edge |
RoadDropObject.GetDropLocation()
Gets the edge associated with the object.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Edge> |
Personality.GetAvailableEdges(GameModel model) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,Edge> |
EdgeHandler.edges |
private java.util.Map<Edge,Hex> |
PortHandler.ePorts |
Modifier and Type | Method and Description |
---|---|
Edge |
EdgeHandler.GetEdge(Coordinate p1,
Coordinate p2)
Returns the edge between the provided end points.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Edge> |
EdgeHandler.GetAllEdges()
Returns all the edges
|
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
PortHandler.GetPorts()
Gets all the available ports.
|
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 |
---|---|
Edge |
UnmodifiableMapModel.GetEdge(Coordinate p1,
Coordinate p2) |
Edge |
MapModel.GetEdge(Coordinate p1,
Coordinate p2) |
Edge |
IMapModel.GetEdge(Coordinate p1,
Coordinate p2)
Gets the edge associated with the provided end points.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Edge> |
UnmodifiableMapModel.GetEdges() |
java.util.Iterator<Edge> |
MapModel.GetEdges() |
java.util.Iterator<Edge> |
IMapModel.GetEdges()
Gets all the edges.
|
private java.util.Iterator<Edge> |
MapModel.GetEdges(Vertex vertex)
Gets the edges surrounding a vertex.
|
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
UnmodifiableMapModel.GetPorts() |
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
MapModel.GetPorts() |
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
IMapModel.GetPorts()
Gets all the ports.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
MapModel.RoadsSatisfyRoadPlacement(Edge edge,
CatanColor color) |
private boolean |
MapModel.VillagesSatisfyRoadPlacement(Edge edge,
CatanColor color) |
Modifier and Type | Method and Description |
---|---|
private RoadCounter.Road |
RoadCounter.CountRoad(Vertex start,
java.util.Set<Edge> counted,
CatanColor color) |