menu
bishop package
documentation
bishop.dart
WonGameStalemate class
WonGameStalemate class
dark_mode
light_mode
WonGameStalemate
class
Inheritance
Object
GameResult
WonGame
WonGameStalemate
Constructors
WonGameStalemate
({
required
int
winner
})
const
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
readable
→
String
A human-readable string describing the result.
no setter
override
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
scoreString
→
String
no setter
inherited
soft
→
bool
'Soft' results will not delegalise moves. This is useful for cases like points-based wins, where if the opponent is going to win next move no matter what, the current player should still be able to make a move.
no setter
inherited
winner
→
int
final
inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
override
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
bishop package
documentation
bishop
WonGameStalemate class
bishop library