diff options
author | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:51:22 -0700 |
---|---|---|
committer | Lizzy Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-09 21:51:22 -0700 |
commit | 42838864af3503f85cabc5dbd73b98a64d20cded (patch) | |
tree | 48dd75f0b9fcdc1fb8ec6db5ac2bec0a36b9afe7 /src/engine/TheAbstractionEngine.ts | |
parent | ce403459fa82025bd969d1938ed4034a10c2e751 (diff) | |
download | the-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.tar.gz the-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.zip |
prettier
Diffstat (limited to 'src/engine/TheAbstractionEngine.ts')
-rw-r--r-- | src/engine/TheAbstractionEngine.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/TheAbstractionEngine.ts b/src/engine/TheAbstractionEngine.ts index 29bc553..2c29406 100644 --- a/src/engine/TheAbstractionEngine.ts +++ b/src/engine/TheAbstractionEngine.ts @@ -41,7 +41,7 @@ export class TheAbstractionEngine { { width: Miscellaneous.GRID_CELL_WIDTH, height: Miscellaneous.GRID_CELL_HEIGHT, - }, + } ), new GridSpawner(), new Collision(), @@ -76,7 +76,7 @@ export class TheAbstractionEngine { }); this.ctx.canvas.addEventListener("keyup", (e) => - input.keyReleased(e.key.toLowerCase()), + input.keyReleased(e.key.toLowerCase()) ); this.ctx.canvas.addEventListener("blur", () => input.clearKeys()); |