improved terrain

This commit is contained in:
evanpelle
2024-08-23 14:52:04 -07:00
parent 5bf54ff1f6
commit c4e8895464
4 changed files with 28 additions and 23 deletions
-8
View File
@@ -134,14 +134,6 @@ export class GameRenderer {
}
tick() {
// Create a temporary canvas for the game content
// this.tempCanvas = document.createElement('canvas');
// const tempCtx = this.tempCanvas.getContext('2d');
// this.tempCanvas.width = this.gs.width();
// this.tempCanvas.height = this.gs.height();
// // Put the ImageData on the temp canvas
// tempCtx.putImageData(this.imageData, 0, 0);
this.nameRenderer.tick()
}