Uses of Class
soc.game.SOCBoard

Packages that use SOCBoard
soc.client   
soc.game   
soc.robot   
soc.server   
 

Uses of SOCBoard in soc.client
 

Fields in soc.client declared as SOCBoard
private  SOCBoard SOCBoardPanel.board
          The board in the game
 

Uses of SOCBoard in soc.game
 

Subclasses of SOCBoard in soc.game
 class SOCBoardLarge
          Sea board layout: A representation of a larger (up to 127 x 127 hexes) JSettlers board, with an arbitrary mix of land and water tiles.
 

Fields in soc.game declared as SOCBoard
protected  SOCBoard SOCPlayingPiece.board
          Board, for coordinate-related operations.
private  SOCBoard SOCGame.board
          the game board
 

Methods in soc.game that return SOCBoard
 SOCBoard SOCBoard.BoardFactory.createBoard(java.util.Map<java.lang.String,SOCGameOption> gameOpts, boolean largeBoard, int maxPlayers)
          Create a new Settlers of Catan Board based on gameOpts; this is a factory method.
 SOCBoard SOCBoard.DefaultBoardFactory.createBoard(java.util.Map<java.lang.String,SOCGameOption> gameOpts, boolean largeBoard, int maxPlayers)
          Create a new Settlers of Catan Board based on gameOpts; this is a factory method.
 SOCBoard SOCGame.getBoard()
          Get the game board.
static SOCBoard SOCBoard.DefaultBoardFactory.staticCreateBoard(java.util.Map<java.lang.String,SOCGameOption> gameOpts, boolean largeBoard, int maxPlayers)
          Create a new Settlers of Catan Board based on gameOpts; this is a factory method.
 

Methods in soc.game with parameters of type SOCBoard
private  boolean SOCPlayer.doesTradeRouteContinuePastNode(SOCBoard board, boolean wantShip, int rsEdge, int ignoreEdge, int node)
          Does this trade route (ships only, or roads only) continue past an unoccupied node?
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.
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.
 void SOCPlayerNumbers.undoUpdateNumbers(int coord, SOCBoard board)
          undo the updating of the numbers data given a node coordinate and a board, remove numbers for this player from the list
 void SOCPlayerNumbers.undoUpdateNumbers(SOCPlayingPiece piece, SOCBoard board)
          undo the updating of the numbers data given a piece and a board, remove numbers for this player from the list
 void SOCPlayerNumbers.updateNumbers(int nodeCoord, SOCBoard board)
          update the numbers data, based on placing a settlement or upgrading to a city at a node.
 void SOCPlayerNumbers.updateNumbers(SOCPlayingPiece piece, SOCBoard board)
          Update the numbers data, based on placing a settlement or upgrading to a city at a node.
 int SOCPlayerNumbers.updateNumbersAndProbability(int nodeCoord, SOCBoard board, int[] numProb, java.lang.StringBuffer sb)
          Update the numbers data, based on placing a settlement or upgrading to a city at a node, and total the probability for those dice numbers.
 

Constructors in soc.game with parameters of type SOCBoard
SOCCity(SOCPlayer pl, int co, SOCBoard board)
          Make a new city
SOCFortress(SOCPlayer pl, int node, SOCBoard board)
          Make a new fortress, with strength SOCFortress.STARTING_STRENGTH.
SOCPlayerNumbers(SOCBoard board)
          the constructor for a player's dice-resource numbers.
SOCPlayingPiece(int ptype, int co, SOCBoard pboard)
          Make a new piece, which belongs to the board and never to players.
SOCPlayingPiece(int ptype, SOCPlayer pl, int co, SOCBoard pboard)
          Make a new piece, which is owned by a player.
SOCRoad(SOCPlayer pl, int co, SOCBoard board)
          Make a new road
SOCSettlement(SOCPlayer pl, int co, SOCBoard board)
          Make a new settlement
SOCShip(SOCPlayer pl, int edge, SOCBoard board)
          Make a new ship.
SOCVillage(int node, int dice, int cloth, SOCBoard board)
          Make a new village, which has a certain amount of cloth.
SOCVillage(int node, SOCBoard board)
           
 

Uses of SOCBoard in soc.robot
 

Methods in soc.robot with parameters of type SOCBoard
protected  void OpeningBuildStrategy.bestSpot2AwayFromANodeSet(SOCBoard board, java.util.Hashtable<java.lang.Integer,java.lang.Integer> nodesIn, java.util.Vector<java.lang.Integer> nodeSet, int weight)
          Takes a table of nodes and adds a weighted score to each node score in the table.
 

Uses of SOCBoard in soc.server
 

Subclasses of SOCBoard in soc.server
 class SOCBoardLargeAtServer
          A subclass of SOCBoardLarge for the server, to isolate SOCBoardLargeAtServer.makeNewBoard(Map) and simplify that parent class.
 

Methods in soc.server that return SOCBoard
 SOCBoard SOCBoardLargeAtServer.BoardFactoryAtServer.createBoard(java.util.Map<java.lang.String,SOCGameOption> gameOpts, boolean largeBoard, int maxPlayers)
          Create a new Settlers of Catan Board based on gameOpts; this is a factory method.
 

Methods in soc.server with parameters of type SOCBoard
private  boolean SOCServer.debug_printPieceDiceNumbers_pl(SOCPlayer pl, int roll, SOCBoard board, java.lang.String pieceType, java.util.Enumeration<? extends SOCPlayingPiece> pe)
          Temporary debugging; for 1 player.