GatingMode enum

Defines different types of gating for variants.

flex is like gating in Seirawan chess: any piece in the gate can be gated on any square.

fixed is like gating in Musketeer chess: pieces are fixed in a position in the gate, and only when the piece on the corresponding square is moved can a piece be gated.

Inheritance

Constructors

GatingMode()
const

Values

none → const GatingMode
flex → const GatingMode
fixed → const GatingMode

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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 <(GatingMode other) bool
operator <=(GatingMode other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(GatingMode other) bool
operator >=(GatingMode other) bool

Constants

values → const List<GatingMode>
A constant List of the values in this enum, in order of their declaration.