From d8511f4ad3bc3a326de7f7af2fb8703d5f471e36 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 2 Mar 2025 16:32:01 -0700 Subject: run prettier --- src/engine/entities/LambdaFactory.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/engine/entities/LambdaFactory.ts') diff --git a/src/engine/entities/LambdaFactory.ts b/src/engine/entities/LambdaFactory.ts index 61a3b0a..ca91298 100644 --- a/src/engine/entities/LambdaFactory.ts +++ b/src/engine/entities/LambdaFactory.ts @@ -26,7 +26,7 @@ import { parse } from "../../interpreter"; export class LambdaFactory extends Entity { private static spriteSpec: SpriteSpec = SPRITE_SPECS.get( - Sprites.LAMBDA_FACTORY + Sprites.LAMBDA_FACTORY, ) as SpriteSpec; private spawns: number; @@ -48,8 +48,8 @@ export class LambdaFactory extends Entity { width: LambdaFactory.spriteSpec.width, height: LambdaFactory.spriteSpec.height, }, - 0 - ) + 0, + ), ); this.addComponent(new Text(spawns.toString())); @@ -59,8 +59,8 @@ export class LambdaFactory extends Entity { this.addComponent( new GridSpawn( this.spawns, - () => new FunctionBox({ x: 0, y: 0 }, this.code) - ) + () => new FunctionBox({ x: 0, y: 0 }, this.code), + ), ); this.addComponent(new Grid(gridPosition)); @@ -74,12 +74,12 @@ export class LambdaFactory extends Entity { height: LambdaFactory.spriteSpec.height, }, LambdaFactory.spriteSpec.msPerFrame, - LambdaFactory.spriteSpec.frames - ) + LambdaFactory.spriteSpec.frames, + ), ); this.addComponent( - new Highlight(this.onHighlight.bind(this), this.onUnhighlight.bind(this)) + new Highlight(this.onHighlight.bind(this), this.onUnhighlight.bind(this)), ); } @@ -113,7 +113,7 @@ export class LambdaFactory extends Entity { code: this.code, codeConsumer: this.codeConsumer.bind(this), }, - }) + }), ); } -- cgit v1.2.3-70-g09d2