Uses of Record Class
com.fortemate.dicechess.runtime.GameClock
-
Uses of GameClock in com.fortemate.dicechess.runtime
Methods in com.fortemate.dicechess.runtime that return GameClockModifier and TypeMethodDescriptionDoubleDecisionContext.clock()Returns the value of theclockrecord component.DoubleOpportunityContext.clock()Returns the value of theclockrecord component.DoublingContext.clock()Returns the game clock, ornullfor an untimed game.DrawDecisionContext.clock()Returns the value of theclockrecord component.TurnContext.clock()Returns the value of theclockrecord component.Constructors in com.fortemate.dicechess.runtime with parameters of type GameClockModifierConstructorDescriptionDoubleDecisionContext(String gameId, String seat, long version, String dfen, GameClock clock, DoublingState doubling) Creates a validated double-decision context.DoubleOpportunityContext(String gameId, String seat, long version, String dfen, GameClock clock, DoublingState doubling) Creates a validated double-opportunity context.DrawDecisionContext(String gameId, String seat, long version, String dfen, GameClock clock) Creates a validated draw-decision context.TurnContext(String gameId, String seat, long version, String dfen, GameClock clock, List<List<String>> legalMoves, boolean mayOfferDraw) Creates a validated context with an immutable deep copy of the legal-move paths.