online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/board/BackButton.gd')
-rw-r--r--ui/board/BackButton.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/board/BackButton.gd b/ui/board/BackButton.gd
new file mode 100644
index 0000000..f91b25b
--- /dev/null
+++ b/ui/board/BackButton.gd
@@ -0,0 +1,9 @@
+extends CenterContainer
+
+var button := Button.new()
+
+
+func _ready():
+ add_child(button)
+ button.text = "go back"
+ button.connect("pressed", Events, "emit_signal", ["go_back", "", true])