Queen constructor
- {required bool isWhite}
Implementation
Queen({required super.isWhite}) {
_value = 10;
_img = super.isWhite
? "${userData.lightPieces}/reinaB"
: "${userData.darkPieces}/reinaN";
}
Queen({required super.isWhite}) {
_value = 10;
_img = super.isWhite
? "${userData.lightPieces}/reinaB"
: "${userData.darkPieces}/reinaN";
}