Uses of Class
soc.game.SOCRoad

Packages that use SOCRoad
soc.game   
soc.robot   
soc.util   
 

Uses of SOCRoad in soc.game
 

Subclasses of SOCRoad in soc.game
 class SOCShip
          A ship playing piece, on the large sea board (SOCBoardLarge).
 

Fields in soc.game with type parameters of type SOCRoad
private  java.util.Vector<SOCRoad> SOCPlayer.roads
          a list of this player's roads and ships in play.
protected  java.util.Vector<SOCRoad> SOCBoard.roads
          roads on the board; Vector of SOCPlayingPiece.
 

Methods in soc.game that return SOCRoad
 SOCRoad SOCPlayer.getRoadOrShip(int edge)
          Get this player's road or ship on an edge.
 SOCRoad SOCBoard.roadAtEdge(int edgeCoord)
          If there's a road or ship placed at this edge, find it.
 

Methods in soc.game that return types with arguments of type SOCRoad
 java.util.Vector<SOCRoad> SOCPlayer.getRoads()
          Get this player's roads and ships on the board.
 java.util.Vector<SOCRoad> SOCBoard.getRoads()
          get the list of roads and ships
 

Methods in soc.game with parameters of type SOCRoad
private  void SOCPlayer.putPiece_roadOrShip(SOCRoad piece, SOCBoard board, boolean isTempPiece)
          For putPiece, update road/ship-related info, SOCPlayer.roadNodes, SOCPlayer.roadNodeGraph and SOCPlayer.lastRoadCoord.
 

Uses of SOCRoad in soc.robot
 

Methods in soc.robot with parameters of type SOCRoad
 void SOCPlayerTracker.addNewRoadOrShip(SOCRoad road, java.util.HashMap<java.lang.Integer,SOCPlayerTracker> trackers)
          add a road or ship that has just been built
private  void SOCPlayerTracker.addOurNewRoadOrShip(SOCRoad road, java.util.HashMap<java.lang.Integer,SOCPlayerTracker> trackers, int expandLevel)
          Add one of our roads or ships that has just been built.
private  void SOCPlayerTracker.addTheirNewRoadOrShip(SOCRoad road, boolean isCancel)
          add another player's new road or ship, or cancel our own bad road by acting as if another player has placed there.
 void SOCPlayerTracker.cancelWrongRoadOrShip(SOCRoad road)
          Remove our incorrect road or ship placement, it's been rejected by the server.
protected  void SOCRobotBrain.trackNewRoadOrShip(SOCRoad newRoad, boolean isCancel)
          Run a newly placed road or ship through the playerTrackers.
 void SOCPlayerTracker.updateLRPotential(SOCPossibleRoad posRoad, SOCPlayer dummy, SOCRoad dummyRoad, int lrLength, int level)
          update the potential LR value of a possible road or ship by placing dummy roads/ships and calculating LR (longest road).
 

Uses of SOCRoad in soc.util
 

Fields in soc.util declared as SOCRoad
 SOCRoad NodeLenVis.inboundRoad
          the road or ship that lead us to this node, if NodeLenVis.len > 0 and SOCGame.hasSeaBoard.
 

Constructors in soc.util with parameters of type SOCRoad
NodeLenVis(int n, int l, java.util.Vector<T> v, SOCRoad rs)
          Creates a new NodeLenVis object.