online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/barbutton/flipbutton.gd')
-rw-r--r--ui/barbutton/flipbutton.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/barbutton/flipbutton.gd b/ui/barbutton/flipbutton.gd
new file mode 100644
index 0000000..7a6e3ac
--- /dev/null
+++ b/ui/barbutton/flipbutton.gd
@@ -0,0 +1,6 @@
+extends BarTextureButton
+class_name FlipButton, "res://assets/ui/flip_board.png"
+
+
+func _pressed() -> void:
+ Globals.grid.flip_board()