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



1411
1412
1413
1414
1415
1416
# File 'lib/box2d_types.rb', line 1411

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

Instance Method Details

#countObject



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

def count = self[:count]

#count=(v) ⇒ Object



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

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

#jointEventsObject



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

def jointEvents = self[:jointEvents]

#jointEvents=(v) ⇒ Object



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

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