summaryrefslogtreecommitdiffhomepage
path: root/app/components/button.rb
diff options
context:
space:
mode:
authorarngo <[email protected]>2021-12-19 16:51:50 -0500
committerarngo <[email protected]>2021-12-19 16:51:50 -0500
commitc16f16066f1943a8c2d4178583578705e71e7794 (patch)
treec2b28cfe5fd36d9ab9a7b004e2f72a48c7c8a023 /app/components/button.rb
parent196e18f1fd61ea9ef0e985bf9a6463a1188747c9 (diff)
downloadSteelWings-c16f16066f1943a8c2d4178583578705e71e7794.tar.gz
SteelWings-c16f16066f1943a8c2d4178583578705e71e7794.zip
make button change sprite when pressed/unpressed
Diffstat (limited to 'app/components/button.rb')
-rw-r--r--app/components/button.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/components/button.rb b/app/components/button.rb
index 8f9126f..097ca51 100644
--- a/app/components/button.rb
+++ b/app/components/button.rb
@@ -1,3 +1,5 @@
FF::Cmp.new('Button',
:action,
+ :pressed_sprite_path,
+ :unpressed_sprite_path,
clicked: false)