Class: BulldogPhysics::ForceRegistration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeForceRegistration

Returns a new instance of ForceRegistration.



6
7
8
9
# File 'lib/RigidBodies/force_registration.rb', line 6

def initialize()
      	@body = RigidBody.new
      	@pforce_generator = ForceGenerator.new
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



4
5
6
# File 'lib/RigidBodies/force_registration.rb', line 4

def body
  @body
end

#force_generatorObject

Returns the value of attribute force_generator.



4
5
6
# File 'lib/RigidBodies/force_registration.rb', line 4

def force_generator
  @force_generator
end