Store Structured Productgamesystems
All checks were successful
E2E Testing / test (push) Successful in 1m30s
All checks were successful
E2E Testing / test (push) Successful in 1m30s
This commit is contained in:
parent
6d14328b9f
commit
8c39762ede
@ -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;
|
||||||
|
6
testModel/gamesystems/Weather/Parent Weather.json
Normal file
6
testModel/gamesystems/Weather/Parent Weather.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"componentName": "Parent Weather",
|
||||||
|
"componentDescription": "",
|
||||||
|
"states": [],
|
||||||
|
"transitions": []
|
||||||
|
}
|
49
testModel/gamesystems/Weather/Weather(Child).json
Normal file
49
testModel/gamesystems/Weather/Weather(Child).json
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
4
testModel/gamesystems/Weather/Weather.json
Normal file
4
testModel/gamesystems/Weather/Weather.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"componentName": "Weather",
|
||||||
|
"componentDescription": ""
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user