scenario.ts 1.01 KB
Newer Older
Romain DELEAU's avatar
Romain DELEAU committed
1 2 3 4 5
import { Character } from "../character/character";
import { GameContext } from "../game-context/game-context";
import { GameEducationnalObjective } from "../game-educationnal-objective/game-educationnal-objective";
import { Mission } from "../mission/mission";
import { Ressource } from "../ressource/ressource";
Romain DELEAU's avatar
Romain DELEAU committed
6
import { Comment } from "../comment/comment";
7
import { Trace } from "../trace/trace";
Romain DELEAU's avatar
Romain DELEAU committed
8 9 10 11 12 13 14 15

export class Scenario {

    educationnalObjective: GameEducationnalObjective = new GameEducationnalObjective();
    context: GameContext = new GameContext();
    missions: Mission[] = [new Mission()];
    characters: Character[] = [];
    gameRules: string = '';
Romain DELEAU's avatar
Romain DELEAU committed
16
    ressources: Ressource[] = [];
Romain DELEAU's avatar
Romain DELEAU committed
17
    comments: Comment[] = [];
18
    projectName: string = '';
19
    tooltips: boolean = true;
Romain DELEAU's avatar
Romain DELEAU committed
20 21 22 23
    tutorial_isActive: boolean = true;
    tutorial_phase: number = 1;
    tutorial_optionnalPhase: string = '';
    tutorial_phaseDone: boolean[] = []; 
24
    traces: Trace[] = [new Trace(0, 'new', undefined, undefined, 'all', 'Scenario')];
Romain DELEAU's avatar
Romain DELEAU committed
25
}