Terrain brush implemented.

This commit is contained in:
Mal
2020-01-30 20:51:29 +01:00
parent 969310c932
commit 2fa3bf5a53
9 changed files with 166 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ export default class Terrain
this.tilesY = tilesY;
this.backgroundColor = backgroundColor;
this.htmlElement = document.createElement('table');
this.brushTileIndex = 0;
this.init();
}
@@ -36,7 +37,6 @@ export default class Terrain
this.fields.push(row);
this.htmlElement.appendChild(tr);
}
}
getElement()