update flow

This commit is contained in:
math-pixel
2026-05-11 11:03:01 +02:00
parent 41f7b2ad19
commit 1b7813a5bb
11 changed files with 415 additions and 6 deletions
+10 -1
View File
@@ -1,6 +1,12 @@
import type { Vector3Tuple } from "@/types/3d";
export type GameStep = "intro" | "outOfFabrik";
export type GameStep =
| "intro"
| "start-intro"
| "naming"
| "bienvenue"
| "star-move"
| "outOfFabrik";
export interface Zone {
id: string;
@@ -16,5 +22,8 @@ export interface GameState {
export interface GameStepSnapshot {
step: GameStep;
playerName: string;
canMove: boolean;
transitionTo: (step: GameStep) => void;
setPlayerName: (name: string) => void;
}