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



1363
1364
1365
1366
1367
1368
# File 'lib/box2d_types.rb', line 1363

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

Instance Method Details

#countObject



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

def count = self[:count]

#count=(v) ⇒ Object



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

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

#jointEventsObject



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

def jointEvents = self[:jointEvents]

#jointEvents=(v) ⇒ Object



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

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