summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authorarngo <[email protected]>2021-12-18 22:10:28 -0500
committerarngo <[email protected]>2021-12-18 22:10:28 -0500
commit43a07949acca8a11a3aee6ea915a9a3e00b373ab (patch)
tree8f6e1bba2e025dd11bffda46bd46b29535580be9 /app/components
parentb04f361c9430a3a3c29ef63a43884db0d168a808 (diff)
downloadSteelWings-43a07949acca8a11a3aee6ea915a9a3e00b373ab.tar.gz
SteelWings-43a07949acca8a11a3aee6ea915a9a3e00b373ab.zip
implement button components and title screen
Diffstat (limited to 'app/components')
-rw-r--r--app/components/button.rb3
-rw-r--r--app/components/hitbox.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/app/components/button.rb b/app/components/button.rb
new file mode 100644
index 0000000..8f9126f
--- /dev/null
+++ b/app/components/button.rb
@@ -0,0 +1,3 @@
+FF::Cmp.new('Button',
+ :action,
+ clicked: false)
diff --git a/app/components/hitbox.rb b/app/components/hitbox.rb
new file mode 100644
index 0000000..2b842a3
--- /dev/null
+++ b/app/components/hitbox.rb
@@ -0,0 +1,3 @@
+FF::Cmp.new('Hitbox',
+ x: 0, y: 0,
+ w: 50, h: 50)