Arbiter class
- Implementers
Constructors
- Arbiter({required void onGameOver(GameOverBy)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onGameOver ↔ void Function(GameOverBy)?
-
Callback is made when checkForGameEnd satisfy a condition
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkForGameEnd(
ChessBoardInterface game) → GameOverBy? - one time spectation
-
countdownSpectator(
ChessBoardInterface game) → void -
countdown for player time, if
gamehastimeLimitis being used in ChessBoardWidget to start countdownSpectator when widget is created -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited