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
1262 1263 1264 1265 1266 1267 1268 |
# File 'lib/box2d_types.rb', line 1262 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
1260 |
# File 'lib/box2d_types.rb', line 1260 def contactId = self[:contactId] |
#contactId=(v) ⇒ Object
1261 |
# File 'lib/box2d_types.rb', line 1261 def contactId=(v) self[:contactId] = v end |
#shapeIdA ⇒ Object
1256 |
# File 'lib/box2d_types.rb', line 1256 def shapeIdA = self[:shapeIdA] |
#shapeIdA=(v) ⇒ Object
1257 |
# File 'lib/box2d_types.rb', line 1257 def shapeIdA=(v) self[:shapeIdA] = v end |
#shapeIdB ⇒ Object
1258 |
# File 'lib/box2d_types.rb', line 1258 def shapeIdB = self[:shapeIdB] |
#shapeIdB=(v) ⇒ Object
1259 |
# File 'lib/box2d_types.rb', line 1259 def shapeIdB=(v) self[:shapeIdB] = v end |