src/types.ts
/** Shared types passed between scenes. */ export interface GameOverData { /** Final score the player achieved. */ score: number; /** Total coins available in the run, for context on the end screen. */ total: number;}