diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 06:00:47 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-03-02 06:07:42 -0700 |
commit | 4233aca561b5650924f3cc4232cfd294d706c863 (patch) | |
tree | af67bae5565cf1b7d5400d9678d1fcc038584438 /src/engine/config/constants.ts | |
parent | cbb88091bdf69cc8752ef1cc3662dc0b99e3ead6 (diff) | |
download | the-abstraction-engine-4233aca561b5650924f3cc4232cfd294d706c863.tar.gz the-abstraction-engine-4233aca561b5650924f3cc4232cfd294d706c863.zip |
refocus canvas on lambda factory clsoe
Diffstat (limited to 'src/engine/config/constants.ts')
-rw-r--r-- | src/engine/config/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/config/constants.ts b/src/engine/config/constants.ts index 288513a..c6b592e 100644 --- a/src/engine/config/constants.ts +++ b/src/engine/config/constants.ts @@ -10,15 +10,19 @@ export enum Action { export namespace KeyConstants { export const KeyActions: Record<string, Action> = { a: Action.MOVE_LEFT, + h: Action.MOVE_LEFT, arrowleft: Action.MOVE_LEFT, d: Action.MOVE_RIGHT, + l: Action.MOVE_RIGHT, arrowright: Action.MOVE_RIGHT, w: Action.MOVE_UP, + k: Action.MOVE_UP, arrowup: Action.MOVE_UP, s: Action.MOVE_DOWN, + j: Action.MOVE_DOWN, arrowdown: Action.MOVE_DOWN, " ": Action.INTERACT, @@ -56,4 +60,5 @@ export namespace Miscellaneous { export const GRID_CELL_HEIGHT = Math.floor(HEIGHT / GRID_ROWS); export const MODAL_ID = "modal"; + export const CANVAS_ID = "canvas"; } |