C# Class GR.Gambling.Backgammon.HCI.TimedThinker

Mostra file Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method Description
TimeOnDiceRolled ( GameState gamestate ) : int
TimeOnDoubleOffer ( GameState gamestate, DoubleResponseHint hint ) : int
TimeOnRematchOffer ( ) : int
TimeOnResignOffer ( GameState gamestate, ResignResponseHint hint ) : int
TimeOnStartingDiceRolled ( GameState gamestate ) : int
TimeOnTurnChanged ( GameState gamestate, DoubleHint doubleHint, ResignHint resignHint ) : int
TimedPlayOnRoll ( GameState gamestate, List hints, VenueUndoMethod undo_method ) : TimedPlay
TimedPlayOnRoll ( GameState gamestate, Play play ) : TimedPlay

Method Details

TimeOnDiceRolled() public abstract method

public abstract TimeOnDiceRolled ( GameState gamestate ) : int
gamestate GameState
return int

TimeOnDoubleOffer() public abstract method

public abstract TimeOnDoubleOffer ( GameState gamestate, DoubleResponseHint hint ) : int
gamestate GameState
hint GR.Gambling.Backgammon.Tools.DoubleResponseHint
return int

TimeOnRematchOffer() public abstract method

public abstract TimeOnRematchOffer ( ) : int
return int

TimeOnResignOffer() public abstract method

public abstract TimeOnResignOffer ( GameState gamestate, ResignResponseHint hint ) : int
gamestate GameState
hint GR.Gambling.Backgammon.Tools.ResignResponseHint
return int

TimeOnStartingDiceRolled() public abstract method

public abstract TimeOnStartingDiceRolled ( GameState gamestate ) : int
gamestate GameState
return int

TimeOnTurnChanged() public abstract method

public abstract TimeOnTurnChanged ( GameState gamestate, DoubleHint doubleHint, ResignHint resignHint ) : int
gamestate GameState
doubleHint GR.Gambling.Backgammon.Tools.DoubleHint
resignHint GR.Gambling.Backgammon.Tools.ResignHint
return int

TimedPlayOnRoll() public abstract method

public abstract TimedPlayOnRoll ( GameState gamestate, List hints, VenueUndoMethod undo_method ) : TimedPlay
gamestate GameState
hints List
undo_method VenueUndoMethod
return TimedPlay

TimedPlayOnRoll() public abstract method

public abstract TimedPlayOnRoll ( GameState gamestate, Play play ) : TimedPlay
gamestate GameState
play Play The actual play we want to time and input.
return TimedPlay