diff --git a/src/app/editor/gamesystem-editor/gamesystem-editor.component.html b/src/app/editor/gamesystem-editor/gamesystem-editor.component.html index 7dbcecd..b7d13f0 100644 --- a/src/app/editor/gamesystem-editor/gamesystem-editor.component.html +++ b/src/app/editor/gamesystem-editor/gamesystem-editor.component.html @@ -1,6 +1,6 @@ + Templatetype - Templatetype None Character diff --git a/src/app/project/parser/gamesystemParser/GamesystemParser.ts b/src/app/project/parser/gamesystemParser/GamesystemParser.ts index e085bba..cc6ee69 100644 --- a/src/app/project/parser/gamesystemParser/GamesystemParser.ts +++ b/src/app/project/parser/gamesystemParser/GamesystemParser.ts @@ -47,6 +47,8 @@ export class GamesystemParser { const transitionParser = new TransitionParser(simpleGamesystem.states, this.scriptAccounts) simpleGamesystem.transitions = transitionParser.parseTransitions(gamesystemData.transitions) + + simpleGamesystem.template = gamesystemData.template; return simpleGamesystem } diff --git a/testModel/gamesystems/Characterstimmung.json b/testModel/gamesystems/Characterstimmung.json new file mode 100644 index 0000000..8ff9ec1 --- /dev/null +++ b/testModel/gamesystems/Characterstimmung.json @@ -0,0 +1,7 @@ +{ + "componentName": "Characterstimmung", + "componentDescription": "", + "states": [], + "transitions": [], + "template": 1 +} \ No newline at end of file