mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2026-03-17 21:02:23 +01:00
Snow fullscreen effect implemented
This commit is contained in:
@@ -71,7 +71,13 @@ export class Game
|
||||
this.architecture.draw(this.context, this.camera);
|
||||
this.mrCroc.draw(this.context, this.camera);
|
||||
this.gisela.draw(this.context, this.camera);
|
||||
this.userInterface.draw(this.context);
|
||||
|
||||
for (const effect of this.level.fullscreenEffects) {
|
||||
effect.update(timestamp);
|
||||
effect.render(this.context);
|
||||
}
|
||||
|
||||
this.userInterface.draw(this.context);
|
||||
|
||||
this.lastRendered = timestamp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user