Store Structured Productgamesystems
All checks were successful
E2E Testing / test (push) Successful in 1m30s

This commit is contained in:
Sebastian Böckelmann 2024-03-18 17:22:32 +01:00
parent 6d14328b9f
commit 8c39762ede
4 changed files with 60 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export class StoreProject {
return value.componentName return value.componentName
} }
if(key === 'incomingTransitions' || key === 'outgoingTransitions' || key === 'unsaved' || key === 'type') { if(key === 'parentGamesystem' || key === 'incomingTransitions' || key === 'outgoingTransitions' || key === 'unsaved' || key === 'type') {
return undefined; return undefined;
} else { } else {
return value; return value;

View File

@ -0,0 +1,6 @@
{
"componentName": "Parent Weather",
"componentDescription": "",
"states": [],
"transitions": []
}

View File

@ -0,0 +1,49 @@
{
"componentName": "Weather(Child)",
"componentDescription": "",
"states": [
{
"initial": false,
"conditions": [
{
"scriptAccount": "Temperature",
"minValue": 0,
"maxValue": "50"
}
],
"stateLabel": "Sonnig",
"stateDescription": "Die Sonne scheint"
},
{
"initial": false,
"conditions": [
{
"scriptAccount": "Temperature",
"minValue": "50",
"maxValue": "75"
}
],
"stateLabel": "Wolkig",
"stateDescription": ""
}
],
"transitions": [
{
"scriptAccountActions": [
{
"changingValue": 10,
"scriptAccount": "Temperature"
}
],
"scriptAccountConditions": [
{
"scriptAccount": "Temperature",
"minValue": 0,
"maxValue": "10"
}
],
"startingState": "Sonnig",
"endingState": "Wolkig"
}
]
}

View File

@ -0,0 +1,4 @@
{
"componentName": "Weather",
"componentDescription": ""
}