Class: BulldogPhysics::PotentialContact
- Inherits:
-
Object
- Object
- BulldogPhysics::PotentialContact
- Defined in:
- lib/RigidBodies/rigid_collisions.rb
Instance Attribute Summary collapse
-
#bodies ⇒ Object
readonly
Returns the value of attribute bodies.
Instance Method Summary collapse
-
#initialize(bodies = Array.new) ⇒ PotentialContact
constructor
A new instance of PotentialContact.
Constructor Details
#initialize(bodies = Array.new) ⇒ PotentialContact
Returns a new instance of PotentialContact.
182 183 184 |
# File 'lib/RigidBodies/rigid_collisions.rb', line 182 def initialize(bodies = Array.new) @bodies = bodies end |
Instance Attribute Details
#bodies ⇒ Object (readonly)
Returns the value of attribute bodies.
180 181 182 |
# File 'lib/RigidBodies/rigid_collisions.rb', line 180 def bodies @bodies end |