summaryrefslogtreecommitdiffhomepage
path: root/app/components/boid.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/boid.rb')
-rw-r--r--app/components/boid.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/components/boid.rb b/app/components/boid.rb
index 060f9c3..3358559 100644
--- a/app/components/boid.rb
+++ b/app/components/boid.rb
@@ -1,5 +1,6 @@
FF::Cmp.new('Boid',
- x: 0, y: 0,
- vx: 0, vy: 0,
- cx: 0, cy: 0,
- angle: 0)
+ x: 0, y: 0, # position
+ vx: 0, vy: 0, # velocity
+ cx: 0, cy: 0, # change in velocity
+ w: 0, h: 0, # width and height
+ angle: 0) # angle of velocity