mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 01:59:41 +00:00
improved terrain
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user