King constructor
- {required bool isWhite}
Implementation
King({required super.isWhite}) {
_value = 10000;
_img = super.isWhite
? "${userData.lightPieces}/reyB"
: "${userData.darkPieces}/reyN";
alreadyMoved = false;
}
King({required super.isWhite}) {
_value = 10000;
_img = super.isWhite
? "${userData.lightPieces}/reyB"
: "${userData.darkPieces}/reyN";
alreadyMoved = false;
}