Package | Description |
---|---|
client.map | |
client.map.view | |
client.map.view.dropObject | |
shared.model.map.handlers | |
shared.model.map.model | |
shared.model.map.objects |
Modifier and Type | Method and Description |
---|---|
Hex |
MapController.GetRobberPlacement() |
Hex |
IMapController.GetRobberPlacement()
Gets the location of the robber.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Hex> |
MapController.GetHexes() |
java.util.Iterator<Hex> |
IMapController.GetHexes()
Gets all the hexes in the map.
|
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,java.util.List<Hex>>> |
MapController.GetPips() |
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,java.util.List<Hex>>> |
IMapController.GetPips()
Gets all the pips 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 static java.awt.geom.Point2D |
MapComponent.getHexCenterPoint(Hex hex) |
private int |
MapComponent.getPortRotation(Hex hex,
Edge edge) |
Modifier and Type | Method and Description |
---|---|
Hex |
RobberDropObject.GetDropLocation()
Gets the hex that is currently associated with the object.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.Double,Vertex> |
DropObject.GetSortedVerticies(java.awt.geom.Point2D point,
Hex hex) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Coordinate,Hex> |
PortHandler.cPorts |
private java.util.Map<Edge,Hex> |
PortHandler.ePorts |
private java.util.Map<java.lang.Integer,Hex> |
HexHandler.hexes |
Modifier and Type | Method and Description |
---|---|
Hex |
HexHandler.GetHex(Coordinate point)
Gets the hex at the given coordinate.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Hex> |
HexHandler.GetAllHexes()
Gets all the hexes in the map.
|
java.util.Iterator<java.util.Map.Entry<Edge,Hex>> |
PortHandler.GetPorts()
Gets all the available ports.
|
Modifier and Type | Method and Description |
---|---|
void |
HexHandler.AddHex(Hex hex)
Adds a hex object to the handler.
|
void |
PortHandler.AddPort(PortType type,
Edge edge,
Hex hex)
Adds a port to a hex.
|
private int |
HexHandler.GetKey(Hex hex) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.util.List<Hex>> |
MapModel.values |
Modifier and Type | Method and Description |
---|---|
Hex |
UnmodifiableMapModel.GetHex(Coordinate point) |
Hex |
MapModel.GetHex(Coordinate point) |
Hex |
IMapModel.GetHex(Coordinate point)
Gets a hex at the specified location.
|
Hex |
UnmodifiableMapModel.GetRobberLocation() |
Hex |
MapModel.GetRobberLocation() |
Hex |
IMapModel.GetRobberLocation()
Gets the location of the robber.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Iterator<Hex> |
MapModel.GetHex(int role)
Gets all the hexes associated with the dice role.
|
java.util.Iterator<Hex> |
UnmodifiableMapModel.GetHexes() |
java.util.Iterator<Hex> |
MapModel.GetHexes() |
java.util.Iterator<Hex> |
IMapModel.GetHexes()
Gets all the hexes.
|
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,java.util.List<Hex>>> |
UnmodifiableMapModel.GetPips() |
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,java.util.List<Hex>>> |
MapModel.GetPips() |
java.util.Iterator<java.util.Map.Entry<java.lang.Integer,java.util.List<Hex>>> |
IMapModel.GetPips()
Gets all the pips.
|
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 |
---|---|
java.util.Iterator<Vertex> |
UnmodifiableMapModel.GetVertices(Hex hex) |
java.util.Iterator<Vertex> |
MapModel.GetVertices(Hex hex) |
java.util.Iterator<Vertex> |
IMapModel.GetVertices(Hex hex)
Gets the vertices that are associated with a hex.
|
Modifier and Type | Field and Description |
---|---|
private Hex |
Robber.placedOn |
Modifier and Type | Method and Description |
---|---|
Hex |
Robber.GetHex()
Gets the hex that the robber is on.
|
Modifier and Type | Method and Description |
---|---|
int |
Edge.GetRotation(Hex hex) |
boolean |
Robber.isOnHex(Hex hex)
Determines if the robber is on a certain hex.
|
void |
Robber.setRobber(Hex placeOn)
Moves the robber to a new hex.
|
Constructor and Description |
---|
Robber(Hex placeOn)
Creates a robber object and associates it with a hex.
|