From de4f3fd2fe45478ffabc84f055592e11b119d0a4 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 11 Mar 2024 16:35:51 -0600 Subject: prettier, fix assets and css --- src/engine/systems/Collision.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine/systems/Collision.ts') diff --git a/src/engine/systems/Collision.ts b/src/engine/systems/Collision.ts index 7771ba3..0bc6f5c 100644 --- a/src/engine/systems/Collision.ts +++ b/src/engine/systems/Collision.ts @@ -28,7 +28,7 @@ export class Collision extends System { return; } const collidingBox = entity.getComponent( - ComponentNames.BoundingBox + ComponentNames.BoundingBox, ); let collidingGrid = entity.hasComponent(ComponentNames.Grid) ? entity.getComponent(ComponentNames.Grid) @@ -39,7 +39,7 @@ export class Collision extends System { ComponentNames.BoundingBox, (otherEntity) => { const otherBoundingBox = otherEntity.getComponent( - ComponentNames.BoundingBox + ComponentNames.BoundingBox, ); let otherGrid = otherEntity.hasComponent(ComponentNames.Grid) ? otherEntity.getComponent(ComponentNames.Grid) @@ -58,7 +58,7 @@ export class Collision extends System { if (collidingBox.isCollidingWith(otherBoundingBox)) { collidingWith.push(otherEntity); } - } + }, ); for (const collision of collidingWith) { -- cgit v1.2.3-70-g09d2