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/entities/Wall.ts | |
parent | ce403459fa82025bd969d1938ed4034a10c2e751 (diff) | |
download | the-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.tar.gz the-abstraction-engine-42838864af3503f85cabc5dbd73b98a64d20cded.zip |
prettier
Diffstat (limited to 'src/engine/entities/Wall.ts')
-rw-r--r-- | src/engine/entities/Wall.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/entities/Wall.ts b/src/engine/entities/Wall.ts index 621a569..f5beb9c 100644 --- a/src/engine/entities/Wall.ts +++ b/src/engine/entities/Wall.ts @@ -5,7 +5,7 @@ import { Coord2D } from "../interfaces"; export class Wall extends Entity { private static spriteSpec: SpriteSpec = SPRITE_SPECS.get( - Sprites.WALL, + Sprites.WALL ) as SpriteSpec; constructor(gridPosition: Coord2D) { @@ -25,8 +25,8 @@ export class Wall extends Entity { width: Wall.spriteSpec.width, height: Wall.spriteSpec.height, }, - 0, - ), + 0 + ) ); this.addComponent( @@ -38,8 +38,8 @@ export class Wall extends Entity { height: Wall.spriteSpec.height, }, Wall.spriteSpec.msPerFrame, - Wall.spriteSpec.frames, - ), + Wall.spriteSpec.frames + ) ); } } |