Commit 51b1f479 authored by Romain DELEAU's avatar Romain DELEAU

move scenario chronologie to mission + role ressources can be empty

parent 50092d95
import { EducationnalObjective } from "../educationnal-objective/educationnal-objective";
import { MissionContext } from "../mission-context/mission-context";
import { Role } from "../role/role";
import { Step } from "../step/step";
export class Mission {
educationnalObjective: EducationnalObjective = new EducationnalObjective();
context: MissionContext = new MissionContext();
roles: Role[] = [new Role(), new Role()];
chronologie: Step[] = [new Step()];
}
......@@ -11,7 +11,7 @@ export class Role {
educationnalObjectives: string[] = [''];
rewards: string = '';
stuff: string = '';
ressources: Ressource[] = [new Ressource()];
ressources: Ressource[] = [];
supplementaryRoles: SupplementaryRole[] = [];
comments: Comment[] = [];
tasks: Task[][] = [
......
......@@ -10,5 +10,4 @@ export class Scenario {
context: GameContext = new GameContext();
missions: Mission[] = [new Mission()];
characters: Character[] = [];
chronologie: Step[] = [new Step()];
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment