Class: Box2D::ContactBeginTouchEvent
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::ContactBeginTouchEvent
- 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
1247 1248 1249 1250 1251 1252 1253 |
# File 'lib/box2d_types.rb', line 1247 def self.create_as(_shapeIdA_, _shapeIdB_, _contactId_) instance = ContactBeginTouchEvent.new instance[:shapeIdA] = _shapeIdA_ instance[:shapeIdB] = _shapeIdB_ instance[:contactId] = _contactId_ instance end |
Instance Method Details
#contactId ⇒ Object
1245 |
# File 'lib/box2d_types.rb', line 1245 def contactId = self[:contactId] |
#contactId=(v) ⇒ Object
1246 |
# File 'lib/box2d_types.rb', line 1246 def contactId=(v) self[:contactId] = v end |
#shapeIdA ⇒ Object
1241 |
# File 'lib/box2d_types.rb', line 1241 def shapeIdA = self[:shapeIdA] |
#shapeIdA=(v) ⇒ Object
1242 |
# File 'lib/box2d_types.rb', line 1242 def shapeIdA=(v) self[:shapeIdA] = v end |
#shapeIdB ⇒ Object
1243 |
# File 'lib/box2d_types.rb', line 1243 def shapeIdB = self[:shapeIdB] |
#shapeIdB=(v) ⇒ Object
1244 |
# File 'lib/box2d_types.rb', line 1244 def shapeIdB=(v) self[:shapeIdB] = v end |