Package | Description |
---|---|
client.catan | |
client.map | |
client.map.view.mapState | |
client.model | |
shared.definitions | |
shared.model | |
shared.model.map | |
shared.model.map.objects |
Modifier and Type | Method and Description |
---|---|
private IAction |
RightPanel.createStartMoveAction(IMapController mapController,
PieceType pieceType) |
Modifier and Type | Method and Description |
---|---|
private void |
MapController.StartMove(PieceType pieceType) |
Modifier and Type | Field and Description |
---|---|
private PieceType |
NormalState.type |
Modifier and Type | Method and Description |
---|---|
PieceType |
SettlementSetupState.GetPieceType() |
PieceType |
RoadSetupState.GetPieceType() |
PieceType |
RoadBuilderState.GetPieceType() |
PieceType |
NormalState.GetPieceType() |
PieceType |
IMapState.GetPieceType()
Gets the piece type associated with the current state.
|
Constructor and Description |
---|
NormalState(PieceType type)
Creates a normal state object.
|
Modifier and Type | Field and Description |
---|---|
private PieceType |
ClientGameManager.lastSelectedPiece |
Modifier and Type | Method and Description |
---|---|
PieceType |
ClientGameManager.myPlayerLastPiece() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClientGameManager.canBuildPiece(PieceType p) |
int |
ClientGameManager.playerPieceCount(PieceType type)
Gets the number of devCards for the current player
|
void |
ClientGameManager.startBuilding(PieceType piece)
Starts building a piece
|
Modifier and Type | Method and Description |
---|---|
static PieceType |
PieceType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PieceType[] |
PieceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Bank.getPiece(PieceType type)
Attempts to get a piece (road, settlement, city).
|
int |
Bank.getPieceCount(PieceType type)
Gets the number of pieces available for a type held
|
void |
Bank.givePiece(PieceType type)
Gives the bank one piece
|
void |
Bank.givePiece(PieceType type,
int amount) |
void |
Bank.giveResourcesFor(PieceType piece)
Gives the bank the resources to buy this piece
|
int |
GameManager.playerPieceCount(int playerIndex,
PieceType type)
Gets the number of pieces for the current player
|
Modifier and Type | Field and Description |
---|---|
private PieceType |
Transaction.pieceType |
Modifier and Type | Method and Description |
---|---|
PieceType |
Transaction.getPieceType() |
Constructor and Description |
---|
Transaction(HexType hexType,
PieceType pieceType,
CatanColor color)
Creates a transaction object.
|
Modifier and Type | Field and Description |
---|---|
private PieceType |
Vertex.type |
Modifier and Type | Method and Description |
---|---|
PieceType |
Vertex.getType() |
Modifier and Type | Method and Description |
---|---|
void |
Vertex.SetType(PieceType type,
CatanColor color)
Place a piece on the vertex.
|