MoveGenParams class
Constructors
- MoveGenParams({required bool captures, required bool quiet, required bool castling, required bool legal, bool ignorePieces = false, int? pieceType, int? onlySquare, bool onlyOne = false})
-
const
- MoveGenParams.pieceCaptures(int pieceType)
-
factory
- MoveGenParams.squareAttacks(int square, [bool onlyOne = true])
-
factory
Properties
- captures → bool
-
final
- castling → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignorePieces → bool
-
final
- legal → bool
-
final
- onlyOne → bool
-
final
- onlyPiece → bool
-
no setter
- onlySquare → int?
-
final
- pieceType → int?
-
final
- quiet → bool
-
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- attacks → const MoveGenParams
- normal → const MoveGenParams
- onlyCaptures → const MoveGenParams
- onlyQuiet → const MoveGenParams
- premoves → const MoveGenParams