looks like maps are finally wrapping properly

This commit is contained in:
Gavin McDonald
2019-01-04 22:03:05 -05:00
parent c77f179ad3
commit d1b76727c8
3 changed files with 189 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ class Demo {
if (this.map[key]) {
this.map[key].pips = Tessellate.utils.random(1, pipMax);
console.log(key);
console.log(`{${ x }, ${ y }${ z != null ? `, ${ z }` : ''}}`);
}
else {
console.log('ERROR - no tile', key);