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



1336
1337
1338
1339
1340
1341
# File 'lib/box2d_types.rb', line 1336

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

Instance Method Details

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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