Class: BulldogPhysics::ForceRegistration
- Inherits:
-
Object
- Object
- BulldogPhysics::ForceRegistration
- Defined in:
- lib/RigidBodies/force_registration.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#force_generator ⇒ Object
Returns the value of attribute force_generator.
Instance Method Summary collapse
-
#initialize ⇒ ForceRegistration
constructor
A new instance of ForceRegistration.
Constructor Details
#initialize ⇒ ForceRegistration
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
#body ⇒ Object
Returns the value of attribute body.
4 5 6 |
# File 'lib/RigidBodies/force_registration.rb', line 4 def body @body end |
#force_generator ⇒ Object
Returns the value of attribute force_generator.
4 5 6 |
# File 'lib/RigidBodies/force_registration.rb', line 4 def force_generator @force_generator end |