|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object soc.game.SOCPlayingPiece soc.game.SOCSettlement
public class SOCSettlement
A settlement playing piece
Field Summary |
---|
Fields inherited from class soc.game.SOCPlayingPiece |
---|
board, CITY, coord, FORTRESS, MAXPLUSONE, MIN, pieceType, player, ROAD, SETTLEMENT, SHIP, specialVP, specialVPEvent, VILLAGE |
Constructor Summary | |
---|---|
SOCSettlement(SOCPlayer pl,
int co,
SOCBoard board)
Make a new settlement |
Method Summary | |
---|---|
java.util.Vector<java.lang.Integer> |
getAdjacentHexes()
|
Methods inherited from class soc.game.SOCPlayingPiece |
---|
equals, getAdjacentEdges, getCoordinates, getPlayer, getPlayerNumber, getResourcesToBuild, getType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SOCSettlement(SOCPlayer pl, int co, SOCBoard board) throws java.lang.IllegalArgumentException
pl
- player who owns the settlementco
- coordinatesboard
- board if known; otherwise will extract from pl
java.lang.IllegalArgumentException
- if pl null, or board null and pl.board also nullMethod Detail |
---|
public java.util.Vector<java.lang.Integer> getAdjacentHexes()
SOCBoard.getAdjacentHexesToNode(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |