summaryrefslogtreecommitdiffhomepage
path: root/app/components/rules/bounds.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2021-12-17 01:29:19 -0500
committerrealtradam <[email protected]>2021-12-17 01:29:19 -0500
commitc85f6533efb50981ef8cf59e840a1f8b58b4deef (patch)
tree99dd36898baa41b9832072fbab72ce50539cd7c9 /app/components/rules/bounds.rb
parent8c918c1fadebfb076cafcb347b8aac0e8ac28882 (diff)
downloadSteelWings-c85f6533efb50981ef8cf59e840a1f8b58b4deef.tar.gz
SteelWings-c85f6533efb50981ef8cf59e840a1f8b58b4deef.zip
added boid bounds rule
Diffstat (limited to 'app/components/rules/bounds.rb')
-rw-r--r--app/components/rules/bounds.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/components/rules/bounds.rb b/app/components/rules/bounds.rb
new file mode 100644
index 0000000..71495e6
--- /dev/null
+++ b/app/components/rules/bounds.rb
@@ -0,0 +1,5 @@
+
+FF::Cmp.new('BoidBounds',
+ xmax: 1280, xmin: 0,
+ ymax: 720, ymin: 0,
+ strength: 10)