aboutsummaryrefslogtreecommitdiff
path: root/game/objects/Shop.tscn
blob: 3cf4753c3f28e792047bdbf34b83b4cd8d0d6753 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[gd_scene load_steps=4 format=3 uid="uid://dhb4sjfe6w3uh"]

[ext_resource type="Texture2D" uid="uid://bac68xxoapn2c" path="res://assets/images/green.png" id="1"]
[ext_resource type="Script" path="res://game/objects/Shop.gd" id="1_qgosu"]

[sub_resource type="RectangleShape2D" id="1"]
size = Vector2(12, 12)

[node name="Shop" type="Node2D"]
script = ExtResource("1_qgosu")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1")

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("1")

[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]