summaryrefslogtreecommitdiffhomepage
path: root/app/components/singleton_camera.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/singleton_camera.rb')
-rw-r--r--app/components/singleton_camera.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/components/singleton_camera.rb b/app/components/singleton_camera.rb
new file mode 100644
index 0000000..6d072c1
--- /dev/null
+++ b/app/components/singleton_camera.rb
@@ -0,0 +1,6 @@
+FF::Cmp.new('SingletonCamera',
+ singleton: true,
+ :x, :y,
+ :zoom, :angle)
+
+FF::Cmp::SingletonCamera.new(x: 0.0, y: 0.0, zoom: 1.0, angle: 0.0)