online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/checkboxbutton/CheckBoxButton.gd')
| -rw-r--r-- | ui/checkboxbutton/CheckBoxButton.gd | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ui/checkboxbutton/CheckBoxButton.gd b/ui/checkboxbutton/CheckBoxButton.gd deleted file mode 100644 index b985583..0000000 --- a/ui/checkboxbutton/CheckBoxButton.gd +++ /dev/null @@ -1,16 +0,0 @@ -extends Button -class_name CheckBoxButton - -onready var tx := text - -export(String) var off_icon = "" -export(String) var on_icon = "" - - -func _toggled(p: bool): - text = (on_icon if p else off_icon) + tx - - -func _ready(): - toggle_mode = true - _toggled(pressed) |