diff options
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/button.rb | 3 | ||||
| -rw-r--r-- | app/components/hitbox.rb | 3 |
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) |
