Load Template Status of Gamesystem from disk
Some checks failed
E2E Testing / test (push) Failing after 1m32s

This commit is contained in:
Sebastian Böckelmann 2024-04-11 08:16:26 +02:00
parent a4be4d623d
commit 81971a48ca
3 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<mat-form-field appearance="fill">
<mat-label>Templatetype</mat-label>
<mat-select [(ngModel)]="gamesystem!.template">
<mat-label>Templatetype</mat-label>
<mat-option [value]="TemplateType.NONE">None</mat-option>
<mat-option [value]="TemplateType.CHARACTER">Character</mat-option>
</mat-select>

View File

@ -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
}

View File

@ -0,0 +1,7 @@
{
"componentName": "Characterstimmung",
"componentDescription": "",
"states": [],
"transitions": [],
"template": 1
}