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



1268
1269
1270
1271
1272
1273
1274
# File 'lib/box2d_types.rb', line 1268

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

Instance Method Details

#contactIdObject



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

def contactId = self[:contactId]

#contactId=(v) ⇒ Object



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

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

#shapeIdAObject



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

def shapeIdA = self[:shapeIdA]

#shapeIdA=(v) ⇒ Object



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

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

#shapeIdBObject



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

def shapeIdB = self[:shapeIdB]

#shapeIdB=(v) ⇒ Object



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

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