diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 05:30:17 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 05:30:17 -0700 |
commit | cbb88091bdf69cc8752ef1cc3662dc0b99e3ead6 (patch) | |
tree | b10e56d8f5281a9e91db8e2a923f91b216129459 /src/engine/Game.ts | |
parent | 4b9349b3f8bee21eb086cfd6e7668532a50e6048 (diff) | |
download | the-abstraction-engine-cbb88091bdf69cc8752ef1cc3662dc0b99e3ead6.tar.gz the-abstraction-engine-cbb88091bdf69cc8752ef1cc3662dc0b99e3ead6.zip |
key lock / player curry collisions
Diffstat (limited to 'src/engine/Game.ts')
-rw-r--r-- | src/engine/Game.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/Game.ts b/src/engine/Game.ts index 2df9f17..9fe9e87 100644 --- a/src/engine/Game.ts +++ b/src/engine/Game.ts @@ -25,6 +25,10 @@ export class Game { this.running = true; } + public stop() { + this.running = false; + } + public addEntity(entity: Entity) { this.entities.set(entity.id, entity); } |