Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RLG Maker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Romain DELEAU
RLG Maker
Commits
51b1f479
Commit
51b1f479
authored
Apr 19, 2023
by
Romain DELEAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move scenario chronologie to mission + role ressources can be empty
parent
50092d95
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mission.ts
src/app/class/mission/mission.ts
+2
-1
role.ts
src/app/class/role/role.ts
+1
-1
scenario.ts
src/app/class/scenario/scenario.ts
+0
-1
No files found.
src/app/class/mission/mission.ts
View file @
51b1f479
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
()];
}
src/app/class/role/role.ts
View file @
51b1f479
...
...
@@ -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
[][]
=
[
...
...
src/app/class/scenario/scenario.ts
View file @
51b1f479
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment