Class: Box2D::ContactEndTouchEvent
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::ContactEndTouchEvent
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #contactId ⇒ Object
- #contactId=(v) ⇒ Object
- #shapeIdA ⇒ Object
- #shapeIdA=(v) ⇒ Object
- #shapeIdB ⇒ Object
- #shapeIdB=(v) ⇒ Object
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
#contactId ⇒ Object
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 |
#shapeIdA ⇒ Object
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 |
#shapeIdB ⇒ Object
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 |