scoreManager implemented flawlessly

This commit is contained in:
2025-10-19 15:29:01 +01:00
parent 07f218f4dd
commit a6f066d738
9 changed files with 316 additions and 3 deletions
+3
View File
@@ -1,8 +1,10 @@
import type { RefObject } from 'react';
import { MazeRenderer, MazeGenerator } from "./useBoard";
import type { ScoreManager } from './useScore';
export * from './useGame';
export * from './useBoard';
export * from './useCursor';
export * from './useScore';
export type GameStatus = 'waiting' | 'started' | 'has-key' | 'paused' | 'game-over' | 'game-won'
@@ -12,6 +14,7 @@ export type GameManager = {
cursor: CursorManager;
hero: HeroManager;
renderer: HeroRenderer;
scoreManager: ScoreManager;
} & GameStatusManager & GameKeyManager;