);
}
+ static get DarkBottomRight() {
+ return true;
+ }
+
// For space between corners:
static get NOTHING() {
return "xx";
getPotentialMovesFrom([x, y]) {
switch (this.getPiece(x, y)) {
- case V.CHAMPION:
- return this.getPotentialChampionMoves([x, y]);
- case V.WIZARD:
- return this.getPotentialWizardMoves([x, y]);
- default:
- return super.getPotentialMovesFrom([x, y]);
+ case V.CHAMPION: return this.getPotentialChampionMoves([x, y]);
+ case V.WIZARD: return this.getPotentialWizardMoves([x, y]);
+ default: return super.getPotentialMovesFrom([x, y]);
}
}