Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
Chances ( int roll ) : int | ||
DifferentTypes ( |
||
FindBestIntersection ( IEnumerable |
||
FindBestRoad ( IEnumerable |
||
FindBestRoad ( |
||
GetEdgeBetween ( |
||
GetEnds ( |
||
GetScore ( Edge e, IBoard board ) : double | ||
GetScore ( |
||
OpponentTileValue ( int tile, IBoard board ) : int | ||
OwnTileValue ( int tile, IBoard board ) : int |
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 MoveRobber ( IGameState state ) : int | ||
state | IGameState | |
Результат | int |
public PerformTurn ( IGameState state, IGameActions actions ) : void | ||
state | IGameState | |
actions | IGameActions | |
Результат | void |
public PlaceStart ( IGameState state, IStartActions actions ) : void | ||
state | IGameState | |
actions | IStartActions | |
Результат | void |