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



1329
1330
1331
1332
1333
1334
1335
# File 'lib/box2d_types.rb', line 1329

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



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

def manifold = self[:manifold]

#manifold=(v) ⇒ Object



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

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

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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