SquarePieceBuilder typedef

SquarePieceBuilder = SquarePiece? Function(PieceSquareArgs args)

Draws the piece on a square, or returns null to draw the art of the PieceMap.

Implementation

typedef SquarePieceBuilder = SquarePiece? Function(PieceSquareArgs args);