Method | Description | |
---|---|---|
BeforeDiceRoll ( IGameState state, IGameActions actions ) : void | ||
ChoosePlayerToDrawFrom ( IGameState state, int validOpponents ) : int | ||
DiscardCards ( IGameState state, int toDiscard ) : Resource[] | ||
GetDescription ( ) : string | ||
GetName ( ) : string | ||
HandleTrade ( IGameState state, ITrade offer, int proposingPlayerId ) : ITrade | ||
MoveRobber ( IGameState state ) : int | ||
PerformTurn ( IGameState state, IGameActions actions ) : void | ||
PlaceStart ( IGameState state, IStartActions actions ) : void | ||
Reset ( int assignedId ) : void |
Method | Description | |
---|---|---|
PlayDevelopmentCard ( IGameState state, IGameActions actions ) : IGameState | ||
TradePrice ( IBoard board, Resource giving ) : int | ||
getCityPosition ( ) : Intersection | ||
getRoadPosition ( ) : Edge | ||
getSettlementPosition ( ) : Intersection | ||
hasRes ( IGameState state, Resource res, int amount = 1 ) : bool | ||
selectResource ( Resource resources = null ) : Resource | ||
selectResourceTradeBank ( IBoard board, Resource resources = null ) : Resource |
public BeforeDiceRoll ( IGameState state, IGameActions actions ) : void | ||
state | IGameState | |
actions | IGameActions | |
return | void |
public ChoosePlayerToDrawFrom ( IGameState state, int validOpponents ) : int | ||
state | IGameState | |
validOpponents | int | |
return | int |
public DiscardCards ( IGameState state, int toDiscard ) : Resource[] | ||
state | IGameState | |
toDiscard | int | |
return | Resource[] |
public HandleTrade ( IGameState state, ITrade offer, int proposingPlayerId ) : ITrade | ||
state | IGameState | |
offer | ITrade | |
proposingPlayerId | int | |
return | ITrade |
public PerformTurn ( IGameState state, IGameActions actions ) : void | ||
state | IGameState | |
actions | IGameActions | |
return | void |
public PlaceStart ( IGameState state, IStartActions actions ) : void | ||
state | IGameState | |
actions | IStartActions | |
return | void |