aboutsummaryrefslogtreecommitdiff
path: root/buildings/base_building.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'buildings/base_building.tscn')
-rw-r--r--buildings/base_building.tscn27
1 files changed, 27 insertions, 0 deletions
diff --git a/buildings/base_building.tscn b/buildings/base_building.tscn
new file mode 100644
index 0000000..036ad96
--- /dev/null
+++ b/buildings/base_building.tscn
@@ -0,0 +1,27 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://buildings/building_clickable.gd" type="Script" id=1]
+[ext_resource path="res://buildings/building_interface.gd" type="Script" id=2]
+
+[sub_resource type="RectangleShape2D" id=1]
+extents = Vector2( 32, 32 )
+
+[node name="texture" type="Sprite"]
+script = ExtResource( 2 )
+
+[node name="Area2D" type="Area2D" parent="."]
+script = ExtResource( 1 )
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+shape = SubResource( 1 )
+
+[node name="Label" type="Label" parent="."]
+margin_left = -32.0
+margin_top = -32.0
+margin_right = 32.0
+margin_bottom = -16.0
+custom_colors/font_color = Color( 0, 0, 0, 1 )
+custom_colors/font_outline_modulate = Color( 0, 0, 0, 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}