메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public ChoosePlayerToDrawFrom ( IGameState state, int validOpponents ) : int | ||
state | IGameState | |
validOpponents | int | |
리턴 | int |
public DiscardCards ( IGameState state, int toDiscard ) : Resource[] | ||
state | IGameState | |
toDiscard | int | |
리턴 | Resource[] |
public HandleTrade ( IGameState state, ITrade offer, int proposingPlayerId ) : ITrade | ||
state | IGameState | |
offer | ITrade | |
proposingPlayerId | int | |
리턴 | ITrade |
public PerformTurn ( IGameState state, IGameActions actions ) : void | ||
state | IGameState | |
actions | IGameActions | |
리턴 | void |
public PlaceStart ( IGameState state, IStartActions actions ) : void | ||
state | IGameState | |
actions | IStartActions | |
리턴 | void |