diff options
Diffstat (limited to 'src/consts.ts')
| -rw-r--r-- | src/consts.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/consts.ts b/src/consts.ts index 9b67159..5f1cc62 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,6 +1,7 @@ export const canvas = document.querySelector<HTMLCanvasElement>('canvas')! export const ctx = canvas.getContext("2d")! ctx.imageSmoothingEnabled = false; +export const helpTxt = document.getElementsByTagName("h1")[0]! export const PLAYER_SIZE = 20; // canvas-dot export const PLAYER_VEL = 3; // canvas-dot / frame |
