Class: Box2D::ContactEndTouchEvent

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(_shapeIdA_, _shapeIdB_) ⇒ Object



1347
1348
1349
1350
1351
1352
# File 'lib/box2d_types.rb', line 1347

def self.create_as(_shapeIdA_, _shapeIdB_)
  instance = ContactEndTouchEvent.new
  instance[:shapeIdA] = _shapeIdA_
  instance[:shapeIdB] = _shapeIdB_
  instance
end

Instance Method Details

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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