Rook constructor
- {required bool isWhite}
Implementation
Rook({required super.isWhite}) {
_value = 5;
_img = super.isWhite
? "${userData.lightPieces}/torreB"
: "${userData.darkPieces}/torreN";
alreadyMoved = false;
}
Rook({required super.isWhite}) {
_value = 5;
_img = super.isWhite
? "${userData.lightPieces}/torreB"
: "${userData.darkPieces}/torreN";
alreadyMoved = false;
}