Package | Description |
---|---|
client.networking | |
shared.locations | |
shared.model | |
shared.networking |
Modifier and Type | Method and Description |
---|---|
NetGameModel |
RealEarlyServerProxy.buildRoad(EdgeLocation edgeLocation,
boolean free) |
NetGameModel |
MockServerProxy.buildRoad(EdgeLocation edgeLocation,
boolean free)
Notifies the server that the user has decided to build a road
|
NetGameModel |
EarlyServerProxy.buildRoad(EdgeLocation edgeLocation,
boolean free)
Notifies the server that the user has decided to build a road
|
NetGameModel |
RealEarlyServerProxy.roadBuildingCard(EdgeLocation location1,
EdgeLocation location2) |
NetGameModel |
MockServerProxy.roadBuildingCard(EdgeLocation location1,
EdgeLocation location2)
Notifies the server that the user has played a road building card
|
NetGameModel |
EarlyServerProxy.roadBuildingCard(EdgeLocation location1,
EdgeLocation location2)
Notifies the server that the user has played a road building card
|
Modifier and Type | Method and Description |
---|---|
EdgeLocation |
EdgeLocation.getNormalizedLocation()
Returns a canonical (i.e., unique) value for this edge location.
|
Modifier and Type | Method and Description |
---|---|
static EdgeLocation |
Translate.GetEdgeLocation(Coordinate p1,
Coordinate p2) |
Modifier and Type | Method and Description |
---|---|
private org.json.JSONObject |
JSONSerializer.oEdgeLocation(EdgeLocation edgeLocation) |
java.lang.String |
Serializer.sBuildRoadReq(int playerIndex,
EdgeLocation roadLocation,
boolean free)
Serializes a request to build a road
|
java.lang.String |
JSONSerializer.sBuildRoadReq(int playerIndex,
EdgeLocation roadLocation,
boolean free) |
java.lang.String |
Serializer.sRoadBuildingCardReq(int playerIndex,
EdgeLocation edgeLoc1,
EdgeLocation edgeLoc2)
Serializes a request to play a road building card
|
java.lang.String |
JSONSerializer.sRoadBuildingCardReq(int playerIndex,
EdgeLocation edgeLoc1,
EdgeLocation edgeLoc2) |