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 { EducationnalObjective } from "../educationnal-objective/educationnal-objective";
import { MissionContext } from "../mission-context/mission-context"; import { MissionContext } from "../mission-context/mission-context";
import { Role } from "../role/role"; import { Role } from "../role/role";
import { Step } from "../step/step";
export class Mission { export class Mission {
educationnalObjective: EducationnalObjective = new EducationnalObjective(); educationnalObjective: EducationnalObjective = new EducationnalObjective();
context: MissionContext = new MissionContext(); context: MissionContext = new MissionContext();
roles: Role[] = [new Role(), new Role()]; roles: Role[] = [new Role(), new Role()];
chronologie: Step[] = [new Step()];
} }
...@@ -11,7 +11,7 @@ export class Role { ...@@ -11,7 +11,7 @@ export class Role {
educationnalObjectives: string[] = ['']; educationnalObjectives: string[] = [''];
rewards: string = ''; rewards: string = '';
stuff: string = ''; stuff: string = '';
ressources: Ressource[] = [new Ressource()]; ressources: Ressource[] = [];
supplementaryRoles: SupplementaryRole[] = []; supplementaryRoles: SupplementaryRole[] = [];
comments: Comment[] = []; comments: Comment[] = [];
tasks: Task[][] = [ tasks: Task[][] = [
......
...@@ -10,5 +10,4 @@ export class Scenario { ...@@ -10,5 +10,4 @@ export class Scenario {
context: GameContext = new GameContext(); context: GameContext = new GameContext();
missions: Mission[] = [new Mission()]; missions: Mission[] = [new Mission()];
characters: Character[] = []; 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