Class: BulldogPhysics::PotentialContact

Inherits:
Object
  • Object
show all
Defined in:
lib/RigidBodies/rigid_collisions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodiesObject (readonly)

Returns the value of attribute bodies.



180
181
182
# File 'lib/RigidBodies/rigid_collisions.rb', line 180

def bodies
  @bodies
end