summaryrefslogtreecommitdiff
path: root/main.tscn
blob: 042c7c78644cea30b0c15b3ebd388064d077cf89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[gd_scene load_steps=6 format=3 uid="uid://c3sdm0knce1fx"]

[ext_resource type="Script" uid="uid://dm77sa5w5jdgo" path="res://main.gd" id="1_ig7tw"]

[sub_resource type="InputEventAction" id="InputEventAction_0xm2m"]
action = &"left_click"

[sub_resource type="Shortcut" id="Shortcut_h2yge"]
events = [SubResource("InputEventAction_0xm2m")]

[sub_resource type="InputEventAction" id="InputEventAction_ig7tw"]
action = &"left_click"

[sub_resource type="Shortcut" id="Shortcut_0xm2m"]
events = [SubResource("InputEventAction_ig7tw")]

[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ig7tw")

[node name="Main" type="CenterContainer" parent="."]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="Main"]
layout_mode = 2

[node name="SinglePlayerButton" type="Button" parent="Main/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_h2yge")
text = "Singleplayer"

[node name="MultiPlayerButton" type="Button" parent="Main/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_h2yge")
text = "Multiplayer"

[node name="DeckManagerButton" type="Button" parent="Main/VBoxContainer"]
layout_mode = 2
text = "Deck Manager"

[node name="SinglePlayer" type="CenterContainer" parent="."]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="SinglePlayer"]
layout_mode = 2

[node name="SinglePlayerBackButton" type="Button" parent="SinglePlayer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_h2yge")
text = "Back"

[node name="MultiPlayer" type="CenterContainer" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="MultiPlayer"]
layout_mode = 2

[node name="HostButton" type="Button" parent="MultiPlayer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
unique_name_in_owner = true
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_0xm2m")
text = "Host"

[node name="JoinButton" type="Button" parent="MultiPlayer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
unique_name_in_owner = true
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_0xm2m")
text = "Join"

[node name="MultiPlayerBackButton" type="Button" parent="MultiPlayer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
shortcut_context = NodePath(".")
shortcut = SubResource("Shortcut_h2yge")
text = "Back"

[connection signal="pressed" from="Main/VBoxContainer/SinglePlayerButton" to="." method="_on_single_player_button_pressed"]
[connection signal="pressed" from="Main/VBoxContainer/MultiPlayerButton" to="." method="_on_multi_player_button_pressed"]
[connection signal="pressed" from="Main/VBoxContainer/DeckManagerButton" to="." method="_on_deck_manager_button_pressed"]
[connection signal="pressed" from="SinglePlayer/VBoxContainer/SinglePlayerBackButton" to="." method="_on_single_player_back_button_pressed"]
[connection signal="pressed" from="MultiPlayer/VBoxContainer/HostButton" to="." method="_on_host_button_pressed"]
[connection signal="pressed" from="MultiPlayer/VBoxContainer/JoinButton" to="." method="_on_join_button_pressed"]
[connection signal="pressed" from="MultiPlayer/VBoxContainer/MultiPlayerBackButton" to="." method="_on_multi_player_back_button_pressed"]