Files
La-Fabrik/src/types/game.ts
T
2026-05-12 17:07:53 +02:00

37 lines
614 B
TypeScript

import type { Vector3Tuple } from "@/types/three/three";
export type GameStep =
| "intro"
| "intro_sequence"
| "start-intro"
| "naming"
| "bienvenue"
| "star-move"
| "mission2"
| "searching"
| "helped"
| "manipulation"
| "outOfFabrik";
export const GAME_STEPS: readonly GameStep[] = [
"intro",
"intro_sequence",
"start-intro",
"naming",
"bienvenue",
"star-move",
"mission2",
"searching",
"helped",
"manipulation",
"outOfFabrik",
] as const;
export interface Zone {
id: string;
position: Vector3Tuple;
radius: number;
height: number;
targetStep: GameStep;
}