console map
This commit is contained in:
parent
b5e64094d1
commit
3541f1d461
@ -62,7 +62,7 @@ export default class MazeMesh extends THREE.InstancedMesh {
|
|||||||
|
|
||||||
toString() {
|
toString() {
|
||||||
return this.map.map(row =>
|
return this.map.map(row =>
|
||||||
row.map(isWall => isWall? "██":"░░").join("")
|
row.map(isWall => isWall? "██":" ").join("")
|
||||||
).join("\n")
|
).join("\n")
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user