online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/colorpicker/OldColorView.gd')
| -rw-r--r-- | ui/colorpicker/OldColorView.gd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/colorpicker/OldColorView.gd b/ui/colorpicker/OldColorView.gd new file mode 100644 index 0000000..c840c2c --- /dev/null +++ b/ui/colorpicker/OldColorView.gd @@ -0,0 +1,9 @@ +extends ColorRect +class_name OldColorView + +signal color_changed(color) + + +func _gui_input(event: InputEvent): + if event is InputEventMouseButton: + emit_signal("color_changed", color) |