Package | Description |
---|---|
client.networking | |
shared.locations | |
shared.model | |
shared.networking |
Modifier and Type | Method and Description |
---|---|
NetGameModel |
RealEarlyServerProxy.robPlayer(int victimIndex,
HexLocation location) |
NetGameModel |
MockServerProxy.robPlayer(int victimIndex,
HexLocation location)
Notifies the server that the user has decided to rob another player
|
NetGameModel |
EarlyServerProxy.robPlayer(int victimIndex,
HexLocation location)
Notifies the server that the user has decided to rob another player
|
NetGameModel |
RealEarlyServerProxy.soldierCard(int victimIndex,
HexLocation hexLocation) |
NetGameModel |
MockServerProxy.soldierCard(int victimIndex,
HexLocation hexLocation)
Notifies the server that the user has played a soldier card
|
NetGameModel |
EarlyServerProxy.soldierCard(int victimIndex,
HexLocation hexLocation)
Notifies the server that the user has played a soldier card
|
Modifier and Type | Field and Description |
---|---|
private HexLocation |
VertexLocation.hexLoc |
private HexLocation |
EdgeLocation.hexLoc |
Modifier and Type | Method and Description |
---|---|
HexLocation |
VertexLocation.getHexLoc() |
HexLocation |
EdgeLocation.getHexLoc() |
HexLocation |
HexLocation.getNeighborLoc(EdgeDirection dir) |
Modifier and Type | Method and Description |
---|---|
private void |
VertexLocation.setHexLoc(HexLocation hexLoc) |
private void |
EdgeLocation.setHexLoc(HexLocation hexLoc) |
Constructor and Description |
---|
EdgeLocation(HexLocation hexLoc,
EdgeDirection dir) |
VertexLocation(HexLocation hexLoc,
VertexDirection dir) |
Modifier and Type | Method and Description |
---|---|
static HexLocation |
Translate.GetHexLocation(Coordinate point) |
private static HexLocation |
Translate.GetHexLocation(Coordinate p1,
Coordinate p2) |
Modifier and Type | Method and Description |
---|---|
private org.json.JSONObject |
JSONSerializer.oHexLocation(HexLocation location) |
java.lang.String |
Serializer.sRobPlayerReq(int playerIndex,
int victimIndex,
HexLocation location)
Serializes a request to rob a player
|
java.lang.String |
JSONSerializer.sRobPlayerReq(int playerIndex,
int victimIndex,
HexLocation location) |
java.lang.String |
Serializer.sSoldierCardReq(int playerIndex,
int victimIndex,
HexLocation location)
Serializes a request to play a soldier card
|
java.lang.String |
JSONSerializer.sSoldierCardReq(int playerIndex,
int victimIndex,
HexLocation location) |