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



1314
1315
1316
1317
1318
1319
# File 'lib/box2d_types.rb', line 1314

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

Instance Method Details

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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