-
- static get Monochrome() {
- return true;
- }
-
- static get Lines() {
- let lines = [];
- // Draw all inter-squares lines, shifted:
- for (let i = 0; i < V.size.x; i++)
- lines.push([[i+0.5, 0.5], [i+0.5, V.size.y-0.5]]);
- for (let j = 0; j < V.size.y; j++)
- lines.push([[0.5, j+0.5], [V.size.x-0.5, j+0.5]]);
- const columnDiags = [
- [[0.5, 0.5], [2.5, 2.5]],
- [[0.5, 2.5], [2.5, 0.5]],
- [[2.5, 0.5], [4.5, 2.5]],
- [[4.5, 0.5], [2.5, 2.5]]
- ];
- for (let j of [0, 2, 4, 6]) {
- lines = lines.concat(
- columnDiags.map(L => [[L[0][0], L[0][1] + j], [L[1][0], L[1][1] + j]])
- );
- }
- return lines;
- }
-
- static get Notoodark() {
- return true;