Red border dashes

This commit is contained in:
Renan LE CARO 2025-03-25 08:22:58 +01:00
parent 83d335b05e
commit 80dd1f0758
11 changed files with 1011 additions and 931 deletions

1
src/types.d.ts vendored
View file

@ -206,6 +206,7 @@ export type GameState = {
needsRender: boolean;
// Position of the center of the puck on the canvas in pixels, from the left of the canvas.
puckPosition: number;
lastPuckPosition: number;
// Will be set if the game is about to be paused. Game pause is delayed by a few milliseconds if you pause a few times in a run,
// to avoid abuse of the "release to pause" feature on mobile.
pauseTimeout: NodeJS.Timeout | null;