Basic setup of intro screens

This commit is contained in:
Dennis Schoepf 2021-08-02 13:34:33 +02:00
parent 1e04b3a826
commit 1e5b627e26
5 changed files with 185 additions and 0 deletions

View file

@ -9,6 +9,7 @@ import { getRevealablesforSubproject } from './helpers';
import { SubProject } from './types';
export interface State {
currentIntroStep: number;
currentScene: Scenes;
currentSubproject?: string;
companionState: CompanionState;
@ -24,6 +25,7 @@ export interface State {
const store = create<State>(
devtools((set) => ({
currentIntroStep: 1,
currentScene: Scenes.OVERVIEW,
currentSubproject: null,
companionState: CompanionState.IDLE,