aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-07-30 01:02:35 +0200
committer hop311 <hop3114@gmail.com>2024-07-30 01:07:56 +0200
commit70f3c3cf6f9c1563d95ffb8c25bf8cd2bb7a1ad0 (patch)
tree5f96f7520816721a058bef8e59929c961d4c7ef2 /game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd
parentbf4d061b06374cd696f1f1644548f4d7af86f5ec (diff)
Search panel + text edit box UI generationsearch-panel
Diffstat (limited to 'game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd')
-rw-r--r--game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd b/game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd
index eb4dd9f..61de6ae 100644
--- a/game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd
+++ b/game/src/Game/GameSession/MapControlPanel/MapControlPanel.gd
@@ -1,6 +1,7 @@
extends PanelContainer
signal game_session_menu_button_pressed
+signal search_button_pressed
signal map_view_camera_changed(near_left : Vector2, far_left : Vector2, far_right : Vector2, near_right : Vector2)
signal minimap_clicked(pos_clicked : Vector2)
signal zoom_in_button_pressed
@@ -35,6 +36,9 @@ func _ready() -> void:
func _on_game_session_menu_button_pressed() -> void:
game_session_menu_button_pressed.emit()
+func _on_search_button_pressed() -> void:
+ search_button_pressed.emit()
+
# REQUIREMENTS:
# * SS-76
# * UIFUN-129, UIFUN-131, UIFUN-133, UIFUN-140, UIFUN-141, UIFUN-142