update step

This commit is contained in:
math-pixel
2026-05-11 10:28:39 +02:00
parent e8fb859f79
commit 41f7b2ad19
6 changed files with 248 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import type { Vector3Tuple } from "@/types/3d";
export type GameStep = "intro" | "outOfFabrik";
export interface Zone {
id: string;
position: Vector3Tuple;
radius: number;
height: number;
targetStep: GameStep;
}
export interface GameState {
step: GameStep;
}
export interface GameStepSnapshot {
step: GameStep;
transitionTo: (step: GameStep) => void;
}