|
|
@@ -0,0 +1,611 @@
|
|
|
+[gd_scene load_steps=48 format=3 uid="uid://dpw4gqwmpfe5e"]
|
|
|
+
|
|
|
+[ext_resource type="Script" uid="uid://cau6j0o0julfq" path="res://addons/godot_state_charts/state_chart.gd" id="1_0ag1n"]
|
|
|
+[ext_resource type="Script" uid="uid://cl75pkl5l8lau" path="res://BouncingBalls/sc_semantics.gd" id="1_7xljh"]
|
|
|
+[ext_resource type="Script" uid="uid://dtlmgewt76wtf" path="res://addons/godot_state_charts/parallel_state.gd" id="2_7xljh"]
|
|
|
+[ext_resource type="PackedScene" uid="uid://bcwkugn6v3oy7" path="res://addons/godot_state_charts/utilities/state_chart_debugger.tscn" id="2_umojb"]
|
|
|
+[ext_resource type="Script" uid="uid://bou0yn8lpwcuh" path="res://addons/godot_state_charts/compound_state.gd" id="3_umojb"]
|
|
|
+[ext_resource type="Script" uid="uid://dyiggrr357tov" path="res://addons/godot_state_charts/atomic_state.gd" id="4_1iswr"]
|
|
|
+[ext_resource type="Script" uid="uid://m8bym6l05tkl" path="res://addons/godot_state_charts/transition.gd" id="5_ploh2"]
|
|
|
+[ext_resource type="Script" uid="uid://cgpbecy3dmigh" path="res://addons/godot_state_charts/expression_guard.gd" id="7_7xljh"]
|
|
|
+[ext_resource type="Script" uid="uid://c41gily0vosn7" path="res://addons/godot_state_charts/guard.gd" id="8_kkye2"]
|
|
|
+[ext_resource type="Script" uid="uid://bpmcjqjecisib" path="res://addons/godot_state_charts/state_is_active_guard.gd" id="9_g1l08"]
|
|
|
+[ext_resource type="Script" uid="uid://j83wx22slqlm" path="res://addons/godot_state_charts/not_guard.gd" id="10_8bunp"]
|
|
|
+[ext_resource type="Script" uid="uid://pw277ma67hja" path="res://addons/godot_state_charts/all_of_guard.gd" id="11_yttom"]
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_ggnlb"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive1/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_8t620"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive2/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_fsrxh"]
|
|
|
+script = ExtResource("10_8bunp")
|
|
|
+guard = SubResource("Resource_8t620")
|
|
|
+metadata/_custom_type_script = "uid://j83wx22slqlm"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_seyq0"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_ggnlb"), SubResource("Resource_fsrxh")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_plpm3"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive1/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_lya64"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive2/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_olyqa"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_plpm3"), SubResource("Resource_lya64")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_kkye2"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive1/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_g1l08"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../RegionReceive2/GotEvent")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_8bunp"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_kkye2"), SubResource("Resource_g1l08")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_umojb"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x == 1"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_1iswr"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x == 0"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_7xljh"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x == 1"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_yttom"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x==0"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_ybjrp"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x==0"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_1yp0e"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x==1"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_kcoy7"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../MemoryProtocol/MemoryProtocol/ComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_0ryux"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../MemoryProtocolDeducer/TakeOne")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_gcgaa"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_1yp0e"), SubResource("Resource_kcoy7"), SubResource("Resource_0ryux")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_x6ssm"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../InputEventLifeline/FirstComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_lnngb"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../InputEventDeducer/TakeOne")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_tk11p"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_x6ssm"), SubResource("Resource_lnngb")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_pwu1q"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../InternalEventLifeline/InternalEventLifeline/NextComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_w3bnh"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../InternalEventDeducer/TakeOne")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_7132v"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_pwu1q"), SubResource("Resource_w3bnh")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_mxhyw"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../InputEventLifeline/FirstComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_8epgs"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../InputEventDeducer/TakeMany")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_ugi1x"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_mxhyw"), SubResource("Resource_8epgs")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_d1k7b"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../InternalEventLifeline/InternalEventLifeline/NextComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_tav7g"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../InternalEventDeducer/TakeMany")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_dy56r"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_d1k7b"), SubResource("Resource_tav7g")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_ettqd"]
|
|
|
+script = ExtResource("7_7xljh")
|
|
|
+expression = "x==1"
|
|
|
+metadata/_custom_type_script = "uid://cgpbecy3dmigh"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_75830"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../../MemoryProtocol/MemoryProtocol/ComboStep")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_1wlx4"]
|
|
|
+script = ExtResource("9_g1l08")
|
|
|
+state = NodePath("../../../MemoryProtocolDeducer/TakeMany")
|
|
|
+metadata/_custom_type_script = "uid://bpmcjqjecisib"
|
|
|
+
|
|
|
+[sub_resource type="Resource" id="Resource_avby4"]
|
|
|
+script = ExtResource("11_yttom")
|
|
|
+guards = Array[ExtResource("8_kkye2")]([SubResource("Resource_ettqd"), SubResource("Resource_75830"), SubResource("Resource_1wlx4")])
|
|
|
+metadata/_custom_type_script = "uid://pw277ma67hja"
|
|
|
+
|
|
|
+[node name="SC_semantics" type="Node2D"]
|
|
|
+script = ExtResource("1_7xljh")
|
|
|
+
|
|
|
+[node name="StateChartDebugger" parent="." instance=ExtResource("2_umojb")]
|
|
|
+offset_left = -685.0
|
|
|
+offset_top = -476.0
|
|
|
+offset_right = 690.0
|
|
|
+offset_bottom = 464.0
|
|
|
+size_flags_horizontal = 4
|
|
|
+size_flags_vertical = 4
|
|
|
+initial_node_to_watch = NodePath("../StateChart")
|
|
|
+maximum_lines = 150
|
|
|
+
|
|
|
+[node name="StateChart" type="Node" parent="."]
|
|
|
+script = ExtResource("1_0ag1n")
|
|
|
+initial_expression_properties = {
|
|
|
+"x": 0
|
|
|
+}
|
|
|
+metadata/_custom_type_script = "uid://cau6j0o0julfq"
|
|
|
+
|
|
|
+[node name="ParallelState" type="Node" parent="StateChart"]
|
|
|
+script = ExtResource("2_7xljh")
|
|
|
+metadata/_custom_type_script = "uid://dtlmgewt76wtf"
|
|
|
+
|
|
|
+[node name="BigStepMaximality" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/BigStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/BigStepMaximality/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeOne" type="Node" parent="StateChart/ParallelState/BigStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/BigStepMaximality/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeMany" type="Node" parent="StateChart/ParallelState/BigStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="InputEventLifeline" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("FirstSmallStep")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="FirstSmallStep" type="Node" parent="StateChart/ParallelState/InputEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InputEventLifeline/FirstSmallStep"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../FirstComboStep")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="FirstComboStep" type="Node" parent="StateChart/ParallelState/InputEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InputEventLifeline/FirstComboStep"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../Whole")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Whole" type="Node" parent="StateChart/ParallelState/InputEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="InternalEventLifeline" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("2_7xljh")
|
|
|
+metadata/_custom_type_script = "uid://dtlmgewt76wtf"
|
|
|
+
|
|
|
+[node name="RegionReceive2" type="Node" parent="StateChart/ParallelState/InternalEventLifeline"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive2"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive2/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../GotEvent")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="GotEvent" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive2"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="RegionReceive1" type="Node" parent="StateChart/ParallelState/InternalEventLifeline"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive1"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive1/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../GotEvent")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="GotEvent" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionReceive1"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="RegionBroadcast" type="Node" parent="StateChart/ParallelState/InternalEventLifeline"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionBroadcast"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="internal_broadcast" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionBroadcast/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../Done")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Done" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/RegionBroadcast"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="InternalEventLifeline" type="Node" parent="StateChart/ParallelState/InternalEventLifeline"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NextSmallStep")
|
|
|
+guard = SubResource("Resource_seyq0")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition2" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../Remainder")
|
|
|
+guard = SubResource("Resource_olyqa")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition3" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../Queue")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="NextSmallStep" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Remainder" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Queue" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline/Queue"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NextComboStep")
|
|
|
+guard = SubResource("Resource_8bunp")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="NextComboStep" type="Node" parent="StateChart/ParallelState/InternalEventLifeline/InternalEventLifeline"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="MemoryProtocol" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("2_7xljh")
|
|
|
+
|
|
|
+[node name="RegionAssign" type="Node" parent="StateChart/ParallelState/MemoryProtocol"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/MemoryProtocol/RegionAssign"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="assign_x" type="Node" parent="StateChart/ParallelState/MemoryProtocol/RegionAssign/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../Assigned")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Assigned" type="Node" parent="StateChart/ParallelState/MemoryProtocol/RegionAssign"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="MemoryProtocol" type="Node" parent="StateChart/ParallelState/MemoryProtocol"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../SmallStep")
|
|
|
+guard = SubResource("Resource_umojb")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition2" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../BigStep")
|
|
|
+guard = SubResource("Resource_1iswr")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="SmallStep" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="BigStep" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol/BigStep"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../ComboStep")
|
|
|
+guard = SubResource("Resource_7xljh")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="ComboStep" type="Node" parent="StateChart/ParallelState/MemoryProtocol/MemoryProtocol"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Priority" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Composite")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Composite" type="Node" parent="StateChart/ParallelState/Priority"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Basic")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Basic" type="Node" parent="StateChart/ParallelState/Priority/Composite"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/Priority/Composite/Basic"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../../SourceChild")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/Priority/Composite"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../SourceParent")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="SourceParent" type="Node" parent="StateChart/ParallelState/Priority"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="SourceChild" type="Node" parent="StateChart/ParallelState/Priority"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="ComboStepMaximality" type="Node" parent="StateChart/ParallelState"]
|
|
|
+script = ExtResource("2_7xljh")
|
|
|
+metadata/_custom_type_script = "uid://dtlmgewt76wtf"
|
|
|
+
|
|
|
+[node name="InputEventDeducer" type="Node" parent="StateChart/ParallelState/ComboStepMaximality"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+metadata/_custom_type_script = "uid://bou0yn8lpwcuh"
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InputEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InputEventDeducer/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeOne" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InputEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+metadata/_custom_type_script = "uid://dyiggrr357tov"
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InputEventDeducer/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeMany" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InputEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="InternalEventDeducer" type="Node" parent="StateChart/ParallelState/ComboStepMaximality"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InternalEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InternalEventDeducer/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeOne" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InternalEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InternalEventDeducer/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeMany" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/InternalEventDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="MemoryProtocolDeducer" type="Node" parent="StateChart/ParallelState/ComboStepMaximality"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("Initial")
|
|
|
+
|
|
|
+[node name="Initial" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/MemoryProtocolDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/MemoryProtocolDeducer/Initial"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+guard = SubResource("Resource_yttom")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeOne" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/MemoryProtocolDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/MemoryProtocolDeducer/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+guard = SubResource("Resource_ybjrp")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeMany" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/MemoryProtocolDeducer"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="ComboStepMaximality" type="Node" parent="StateChart/ParallelState/ComboStepMaximality"]
|
|
|
+script = ExtResource("3_umojb")
|
|
|
+initial_state = NodePath("NoComboSteps")
|
|
|
+
|
|
|
+[node name="NoComboSteps" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+guard = SubResource("Resource_gcgaa")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition2" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+guard = SubResource("Resource_tk11p")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition3" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeOne")
|
|
|
+guard = SubResource("Resource_7132v")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition4" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+guard = SubResource("Resource_ugi1x")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition5" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+guard = SubResource("Resource_dy56r")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition6" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/NoComboSteps"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../TakeMany")
|
|
|
+guard = SubResource("Resource_avby4")
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeOne" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NoComboSteps")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition2" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/TakeOne"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NoComboSteps")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="TakeMany" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality"]
|
|
|
+script = ExtResource("4_1iswr")
|
|
|
+
|
|
|
+[node name="Transition" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/TakeMany"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NoComboSteps")
|
|
|
+event = &"input0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Transition2" type="Node" parent="StateChart/ParallelState/ComboStepMaximality/ComboStepMaximality/TakeMany"]
|
|
|
+script = ExtResource("5_ploh2")
|
|
|
+to = NodePath("../../NoComboSteps")
|
|
|
+event = &"internal0"
|
|
|
+delay_in_seconds = "0.0"
|
|
|
+
|
|
|
+[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
+
|
|
|
+[connection signal="state_entered" from="StateChart/ParallelState/InputEventLifeline" to="." method="_on_input_event_lifeline_state_entered"]
|
|
|
+[connection signal="taken" from="StateChart/ParallelState/InternalEventLifeline/RegionBroadcast/Initial/internal_broadcast" to="." method="_on_internal_broadcast_taken"]
|
|
|
+[connection signal="state_entered" from="StateChart/ParallelState/MemoryProtocol/RegionAssign/Initial" to="." method="_on_initial_state_entered"]
|
|
|
+[connection signal="taken" from="StateChart/ParallelState/MemoryProtocol/RegionAssign/Initial/assign_x" to="." method="_on_assign_x_taken"]
|