Class: BulldogPhysics::ContactGenRegistration
- Inherits:
-
Object
- Object
- BulldogPhysics::ContactGenRegistration
- Defined in:
- lib/RigidBodies/world.rb
Instance Attribute Summary collapse
-
#gen ⇒ Object
Returns the value of attribute gen.
-
#next_gen ⇒ Object
Returns the value of attribute next_gen.
Instance Method Summary collapse
-
#initialize(gen = ContactGenerator.new, next_gen = nil) ⇒ ContactGenRegistration
constructor
A new instance of ContactGenRegistration.
Constructor Details
#initialize(gen = ContactGenerator.new, next_gen = nil) ⇒ ContactGenRegistration
Returns a new instance of ContactGenRegistration.
14 15 16 17 |
# File 'lib/RigidBodies/world.rb', line 14 def initialize(gen = ContactGenerator.new, next_gen = nil) @gen = gen @next_body = next_gen end |
Instance Attribute Details
#gen ⇒ Object
Returns the value of attribute gen.
12 13 14 |
# File 'lib/RigidBodies/world.rb', line 12 def gen @gen end |
#next_gen ⇒ Object
Returns the value of attribute next_gen.
12 13 14 |
# File 'lib/RigidBodies/world.rb', line 12 def next_gen @next_gen end |