Basic setup of intro screens
This commit is contained in:
parent
1e04b3a826
commit
1e5b627e26
5 changed files with 185 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue