|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SOCSettlement | |
---|---|
soc.game | |
soc.robot | |
soc.server |
Uses of SOCSettlement in soc.game |
---|
Fields in soc.game with type parameters of type SOCSettlement | |
---|---|
private java.util.Vector<SOCSettlement> |
SOCPlayer.settlements
a list of this player's settlements in play |
protected java.util.Vector<SOCSettlement> |
SOCBoard.settlements
settlements on the board; Vector of SOCPlayingPiece |
Methods in soc.game that return types with arguments of type SOCSettlement | |
---|---|
java.util.Vector<SOCSettlement> |
SOCPlayer.getSettlements()
|
java.util.Vector<SOCSettlement> |
SOCBoard.getSettlements()
get the list of settlements |
Methods in soc.game with parameters of type SOCSettlement | |
---|---|
private void |
SOCPlayer.putPiece_settlement_checkScenarioSVPs(SOCSettlement newSettle,
int newSettleArea,
boolean isTempPiece)
Does the player get a Special Victory Point (SVP) for reaching a new land area? Call when a settlement has been placed in a land area different from SOCPlayer.startingLandArea1 and SOCPlayer.startingLandArea2 . |
private void |
SOCPlayer.putPiece_settlement_checkTradeRoutes(SOCSettlement newSettle,
SOCBoard board)
Check this new settlement for adjacent open ships, to see their its trade route will be closed. |
Uses of SOCSettlement in soc.robot |
---|
Fields in soc.robot declared as SOCSettlement | |
---|---|
protected SOCSettlement |
SOCPlayerTracker.pendingInitSettlement
Player's settlement during initial placement; delay processing until the road is placed, and thus the settlement placement can't be moved around. |
Methods in soc.robot that return SOCSettlement | |
---|---|
SOCSettlement |
SOCPlayerTracker.getPendingInitSettlement()
|
Methods in soc.robot with parameters of type SOCSettlement | |
---|---|
void |
SOCPlayerTracker.addNewSettlement(SOCSettlement settlement,
java.util.HashMap<java.lang.Integer,SOCPlayerTracker> trackers)
Add a settlement that has just been built. |
void |
SOCPlayerTracker.addOurNewSettlement(SOCSettlement settlement,
java.util.HashMap<java.lang.Integer,SOCPlayerTracker> trackers)
Add one of our settlements, and newly possible pieces from it. |
void |
SOCPlayerTracker.addTheirNewSettlement(SOCSettlement settlement,
boolean isCancel)
add another player's new settlement, or cancel our own bad settlement by acting as if another player has placed there. |
void |
SOCPlayerTracker.cancelWrongSettlement(SOCSettlement settlement)
Remove our incorrect settlement placement, it's been rejected by the server. |
void |
SOCPlayerTracker.setPendingInitSettlement(SOCSettlement s)
set this player's pending initial settlement, to be placed/calculated by this tracker after their road. |
protected void |
SOCRobotBrain.trackNewSettlement(SOCSettlement newSettlement,
boolean isCancel)
Run a newly placed settlement through the playerTrackers. |
Uses of SOCSettlement in soc.server |
---|
Methods in soc.server with parameters of type SOCSettlement | |
---|---|
private boolean |
SOCGameHandler.playerEvent_newSettlementIsByShip(SOCGame ga,
SOCSettlement se)
For Special VP player events, check if a new settlement was apparently reached by land or sea. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |