mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 21:03:36 +00:00
feat(debug): add console logs to FxLayer
This commit is contained in:
@@ -411,6 +411,7 @@ export class FxLayer implements Layer {
|
||||
|
||||
renderAllFx(context: CanvasRenderingContext2D, delta: number) {
|
||||
if (this.allFx.length > 0) {
|
||||
console.log("allFx array:", this.allFx);
|
||||
this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
|
||||
this.renderContextFx(delta);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user