diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-07 22:49:43 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-07 22:49:43 -0700 |
commit | ebae24f5a3a251654a1e41be58f52ba2a777d9d7 (patch) | |
tree | 6641c3e5a5ec5d812c54be2bb38196f85f4e36c2 /src/engine/systems/Collision.ts | |
parent | 808a44e8542ebc7542d833e5a30b51b7fb8f80d5 (diff) | |
download | the-abstraction-engine-ebae24f5a3a251654a1e41be58f52ba2a777d9d7.tar.gz the-abstraction-engine-ebae24f5a3a251654a1e41be58f52ba2a777d9d7.zip |
level system!
Diffstat (limited to 'src/engine/systems/Collision.ts')
-rw-r--r-- | src/engine/systems/Collision.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/systems/Collision.ts b/src/engine/systems/Collision.ts index 7d843cc..0bc6f5c 100644 --- a/src/engine/systems/Collision.ts +++ b/src/engine/systems/Collision.ts @@ -7,6 +7,7 @@ const collisionMap: Record<string, Set<string>> = { [EntityNames.Key]: new Set([EntityNames.LockedDoor]), [EntityNames.Curry]: new Set([EntityNames.Player]), [EntityNames.FunctionApplication]: new Set([EntityNames.FunctionBox]), + [EntityNames.Portal]: new Set([EntityNames.Player]), }; export class Collision extends System { |