mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Terrain brush implemented.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user