EndType enum
What happens when a game end condition is met. This is from the perspective of the player the condition happens to. i.e. if a player has no legal moves and thus enters the stalemate condition, with EndType.win, the player with no moves will win. EndType.none disables a condition.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isDraw → bool
-
no setter
- isLose → bool
-
no setter
- isNone → bool
-
no setter
- isNotNone → bool
-
no setter
- isWin → bool
-
no setter
- isWinLose → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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