beta-1.5 (#4)
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
5
UI/Screens/Scripts/map_ui.gd
Normal file
5
UI/Screens/Scripts/map_ui.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
extends Control
|
||||
|
||||
# Private Methods
|
||||
func _on_save_button_pressed() -> void:
|
||||
PersistenceManager.SaveToDisk()
|
||||
1
UI/Screens/Scripts/map_ui.gd.uid
Normal file
1
UI/Screens/Scripts/map_ui.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dudh233xe7s0b
|
||||
33
UI/Screens/map_ui.tscn
Normal file
33
UI/Screens/map_ui.tscn
Normal file
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3 uid="uid://ce6ix6ca6js5f"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bo1utikr0r2q1" path="res://Assets/Spritesheets/Icons/UI/64x64.png" id="1_j6kbw"]
|
||||
[ext_resource type="Script" uid="uid://dudh233xe7s0b" path="res://UI/Screens/Scripts/map_ui.gd" id="1_xiqit"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xiqit"]
|
||||
atlas = ExtResource("1_j6kbw")
|
||||
region = Rect2(576, 0, 64, 64)
|
||||
|
||||
[node name="Map UI" type="Control" unique_id=98184404]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_xiqit")
|
||||
|
||||
[node name="Save Button" type="Button" parent="." unique_id=241739999]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -112.0
|
||||
offset_top = -72.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
text = "Save"
|
||||
icon = SubResource("AtlasTexture_xiqit")
|
||||
|
||||
[connection signal="pressed" from="Save Button" to="." method="_on_save_button_pressed"]
|
||||
Reference in New Issue
Block a user