Next Phase Event Implemented
This commit is contained in:
1 parent
99f4227d6c
commit
03e628de53
10 files changed
+160
-34
No files matched your search
@@ -752,8 +752,8 @@ function newStrategyPartConstructor () {
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Add Formula',
|
||||
visible: false,
|
||||
iconPathOn: 'pipette',
|
||||
iconPathOff: 'pipette',
|
||||
iconPathOn: 'schedule',
|
||||
iconPathOff: 'schedule',
|
||||
relatedStrategyPart: 'Formula',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
@@ -761,13 +761,13 @@ function newStrategyPartConstructor () {
|
||||
angle: -60
|
||||
},
|
||||
{
|
||||
action: 'Add Situation',
|
||||
action: 'Add Next Phase Event',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Add Situation',
|
||||
label: 'Add Next Phase Event',
|
||||
visible: false,
|
||||
iconPathOn: 'pyramid',
|
||||
iconPathOff: 'pyramid',
|
||||
relatedStrategyPart: 'Situation',
|
||||
iconPathOn: 'pipette',
|
||||
iconPathOff: 'pipette',
|
||||
relatedStrategyPart: 'Next Phase Event',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
@@ -859,6 +859,61 @@ function newStrategyPartConstructor () {
|
||||
}]
|
||||
break
|
||||
}
|
||||
case 'Next Phase Event': {
|
||||
menuItemsInitialValues = [
|
||||
{
|
||||
action: 'Pin / Unpin',
|
||||
actionFunction: floatingObject.pinToggle,
|
||||
actionStatus: floatingObject.getPinStatus,
|
||||
currentStatus: false,
|
||||
label: undefined,
|
||||
visible: false,
|
||||
iconPathOn: 'target',
|
||||
iconPathOff: 'security',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: -135
|
||||
},
|
||||
{
|
||||
action: 'Add Situation',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Add Situation',
|
||||
visible: false,
|
||||
iconPathOn: 'pyramid',
|
||||
iconPathOff: 'pyramid',
|
||||
relatedStrategyPart: 'Situation',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: -40
|
||||
},
|
||||
{
|
||||
action: 'Delete Event',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Delete This Event',
|
||||
visible: false,
|
||||
iconPathOn: 'trash',
|
||||
iconPathOff: 'trash',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 0
|
||||
},
|
||||
{
|
||||
action: 'Download',
|
||||
actionFunction: payload.onMenuItemClick,
|
||||
label: 'Download',
|
||||
visible: false,
|
||||
iconPathOn: 'upload',
|
||||
iconPathOff: 'upload',
|
||||
rawRadius: 8,
|
||||
targetRadius: 0,
|
||||
currentRadius: 0,
|
||||
angle: 40
|
||||
}]
|
||||
break
|
||||
}
|
||||
case 'Situation': {
|
||||
menuItemsInitialValues = [
|
||||
{
|
||||
@@ -1098,6 +1153,10 @@ function newStrategyPartConstructor () {
|
||||
level_5()
|
||||
break
|
||||
}
|
||||
case 'Next Phase Event': {
|
||||
level_5()
|
||||
break
|
||||
}
|
||||
case 'Situation': {
|
||||
level_5()
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user