Class: Box2D::ContactBeginTouchEvent

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_, _manifold_) ⇒ Object



1318
1319
1320
1321
1322
1323
1324
# File 'lib/box2d_types.rb', line 1318

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

Instance Method Details

#manifoldObject



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

def manifold = self[:manifold]

#manifold=(v) ⇒ Object



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

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

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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