summaryrefslogtreecommitdiffhomepage
path: root/app/components/rules
diff options
context:
space:
mode:
authorarngo <[email protected]>2021-12-17 23:41:50 -0500
committerarngo <[email protected]>2021-12-17 23:41:50 -0500
commit264b2f9e92a475db75904f72cad2bc8131b39dda (patch)
tree151316559bb65558cd61eb2d8a610b923d4dafde /app/components/rules
parenta402265fc290cbadf51b3d72925657f1f5cb84e4 (diff)
downloadSteelWings-264b2f9e92a475db75904f72cad2bc8131b39dda.tar.gz
SteelWings-264b2f9e92a475db75904f72cad2bc8131b39dda.zip
implement separation rule
Diffstat (limited to 'app/components/rules')
-rw-r--r--app/components/rules/separation.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/components/rules/separation.rb b/app/components/rules/separation.rb
new file mode 100644
index 0000000..00fee32
--- /dev/null
+++ b/app/components/rules/separation.rb
@@ -0,0 +1,3 @@
+FF::Cmp.new('BoidsSeparation',
+ strength: 100,
+ distance: 100)