diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-11 16:35:51 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-11 16:35:51 -0600 |
commit | de4f3fd2fe45478ffabc84f055592e11b119d0a4 (patch) | |
tree | ad2ce3b3e646d2d6bfbccb4b9c8962196a0ea8fe /src/engine/systems/Collision.ts | |
parent | 32879581e53fae5e684c24b44433172d8375d69e (diff) | |
download | the-abstraction-engine-de4f3fd2fe45478ffabc84f055592e11b119d0a4.tar.gz the-abstraction-engine-de4f3fd2fe45478ffabc84f055592e11b119d0a4.zip |
prettier, fix assets and css
Diffstat (limited to 'src/engine/systems/Collision.ts')
-rw-r--r-- | src/engine/systems/Collision.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<BoundingBox>( - ComponentNames.BoundingBox + ComponentNames.BoundingBox, ); let collidingGrid = entity.hasComponent(ComponentNames.Grid) ? entity.getComponent<Grid>(ComponentNames.Grid) @@ -39,7 +39,7 @@ export class Collision extends System { ComponentNames.BoundingBox, (otherEntity) => { const otherBoundingBox = otherEntity.getComponent<BoundingBox>( - ComponentNames.BoundingBox + ComponentNames.BoundingBox, ); let otherGrid = otherEntity.hasComponent(ComponentNames.Grid) ? otherEntity.getComponent<Grid>(ComponentNames.Grid) @@ -58,7 +58,7 @@ export class Collision extends System { if (collidingBox.isCollidingWith(otherBoundingBox)) { collidingWith.push(otherEntity); } - } + }, ); for (const collision of collidingWith) { |