[gd_scene load_steps=4 format=2]

[ext_resource path="res://scripts/fish_logic.gd" type="Script" id=1]
[ext_resource path="res://images/basic_fish.png" type="Texture" id=2]
[ext_resource path="res://scripts/fish_menu.gd" type="Script" id=3]

[node name="fish" type="Node2D"]
script = ExtResource( 1 )
__meta__ = {
"__editor_plugin_screen__": "2D"
}

[node name="sprite" type="Sprite" parent="."]
position = Vector2( 8.02356, -0.939303 )
scale = Vector2( 0.403662, 0.296099 )
texture = ExtResource( 2 )

[node name="nametag" type="Button" parent="."]
margin_left = -49.8903
margin_top = 31.1815
margin_right = 48.1097
margin_bottom = 51.1815
text = "default_name"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="canvas" type="CanvasLayer" parent="."]

[node name="fish_menu" type="Panel" parent="canvas"]
pause_mode = 2
visible = false
margin_left = 319.562
margin_top = 193.275
margin_right = 640.562
margin_bottom = 427.275
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="menu_title" type="Label" parent="canvas/fish_menu"]
margin_left = 50.0
margin_top = 16.0
margin_right = 223.0
margin_bottom = 47.0
text = "DEFAULT MENU TITLE"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="rename_input" type="TextEdit" parent="canvas/fish_menu"]
margin_left = 70.7906
margin_top = 64.1834
margin_right = 204.791
margin_bottom = 99.1834
text = "default name"

[node name="rename_label" type="Label" parent="canvas/fish_menu"]
margin_left = 10.6908
margin_top = 72.6082
margin_right = 62.6908
margin_bottom = 86.6082
text = "Rename"

[node name="confirm_rename_button" type="Button" parent="canvas/fish_menu"]
margin_left = 215.0
margin_top = 70.0
margin_right = 247.0
margin_bottom = 90.0
text = "Confirm"
__meta__ = {
"_edit_use_anchors_": false
}

[node name="resume_button" type="Button" parent="canvas/fish_menu"]
margin_left = 108.0
margin_top = 173.0
margin_right = 153.0
margin_bottom = 193.0
text = "OK"

[connection signal="pressed" from="nametag" to="canvas/fish_menu" method="_on_nametag_pressed"]
[connection signal="pressed" from="canvas/fish_menu/confirm_rename_button" to="canvas/fish_menu" method="_on_confirm_rename_button_pressed"]
[connection signal="pressed" from="canvas/fish_menu/resume_button" to="canvas/fish_menu" method="_on_resume_button_pressed"]
