-
Notifications
You must be signed in to change notification settings - Fork 0
/
Station.tscn
63 lines (50 loc) · 1.52 KB
/
Station.tscn
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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Station.gd" type="Script" id=1]
[ext_resource path="res://Node.gd" type="Script" id=2]
[ext_resource path="res://Theme.tres" type="Theme" id=4]
[sub_resource type="CircleShape2D" id=1]
radius = 258.07
[node name="Station" type="Node2D" groups=["station_root"]]
script = ExtResource( 1 )
[node name="CheckButton" type="CheckButton" parent="."]
margin_left = -6.0
margin_top = -40.0
margin_right = 70.0
mouse_filter = 1
pressed = true
[node name="UI" type="GridContainer" parent="."]
margin_left = -52.0
margin_top = 34.0
margin_right = 52.0
margin_bottom = 74.0
mouse_filter = 2
theme = ExtResource( 4 )
columns = 2
[node name="NameLabel" type="Label" parent="UI"]
margin_right = 92.0
margin_bottom = 14.0
text = "Name"
uppercase = true
[node name="Name" type="Label" parent="UI"]
margin_left = 96.0
margin_right = 104.0
margin_bottom = 14.0
[node name="DetectionCountLabel" type="Label" parent="UI"]
margin_top = 18.0
margin_right = 92.0
margin_bottom = 32.0
text = "# detections"
uppercase = true
[node name="DetectionCount" type="Label" parent="UI"]
margin_left = 96.0
margin_top = 18.0
margin_right = 104.0
margin_bottom = 32.0
text = "0"
[node name="Webserver" type="Node" parent="."]
script = ExtResource( 2 )
[node name="Area2D" type="Area2D" parent="." groups=["station"]]
input_pickable = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[connection signal="toggled" from="CheckButton" to="." method="_on_CheckButton_toggled"]