yAxis property
int
get
yAxis
Implementation
int get yAxis {
final i = int.parse(rank) - 1;
return board.orientation == BoardColor.BLACK ? i : 7 - i;
}
int get yAxis {
final i = int.parse(rank) - 1;
return board.orientation == BoardColor.BLACK ? i : 7 - i;
}