Pawn constructor
- {required bool isWhite}
Implementation
Pawn({required super.isWhite}) {
_value = 1;
_img = super.isWhite
? "${userData.lightPieces}/peonB"
: "${userData.darkPieces}/peonN";
}
Pawn({required super.isWhite}) {
_value = 1;
_img = super.isWhite
? "${userData.lightPieces}/peonB"
: "${userData.darkPieces}/peonN";
}