Knight constructor
- {required bool isWhite}
Implementation
Knight({required super.isWhite}) {
_value = 3;
_img = super.isWhite
? "${userData.lightPieces}/caballoB"
: "${userData.darkPieces}/caballoN";
}
Knight({required super.isWhite}) {
_value = 3;
_img = super.isWhite
? "${userData.lightPieces}/caballoB"
: "${userData.darkPieces}/caballoN";
}