Class: Box2D::JointEvents

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/box2d_types.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create_as(_jointEvents_, _count_) ⇒ Object



1405
1406
1407
1408
1409
1410
# File 'lib/box2d_types.rb', line 1405

def self.create_as(_jointEvents_, _count_)
  instance = JointEvents.new
  instance[:jointEvents] = _jointEvents_
  instance[:count] = _count_
  instance
end

Instance Method Details

#countObject



1403
# File 'lib/box2d_types.rb', line 1403

def count = self[:count]

#count=(v) ⇒ Object



1404
# File 'lib/box2d_types.rb', line 1404

def count=(v) self[:count] = v end

#jointEventsObject



1401
# File 'lib/box2d_types.rb', line 1401

def jointEvents = self[:jointEvents]

#jointEvents=(v) ⇒ Object



1402
# File 'lib/box2d_types.rb', line 1402

def jointEvents=(v) self[:jointEvents] = v end