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
1 year ago
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
data_structure
No related merge requests found
Changes
3
Hide 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
()];
}
This diff is collapsed.
Click to expand it.
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
[][]
=
[
...
...
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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