Class: Box2D::ContactEvents
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::ContactEvents
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #beginCount ⇒ Object
- #beginCount=(v) ⇒ Object
- #beginEvents ⇒ Object
- #beginEvents=(v) ⇒ Object
- #endCount ⇒ Object
- #endCount=(v) ⇒ Object
- #endEvents ⇒ Object
- #endEvents=(v) ⇒ Object
- #hitCount ⇒ Object
- #hitCount=(v) ⇒ Object
- #hitEvents ⇒ Object
- #hitEvents=(v) ⇒ Object
Class Method Details
.create_as(_beginEvents_, _endEvents_, _hitEvents_, _beginCount_, _endCount_, _hitCount_) ⇒ Object
1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 |
# File 'lib/box2d_types.rb', line 1325 def self.create_as(_beginEvents_, _endEvents_, _hitEvents_, _beginCount_, _endCount_, _hitCount_) instance = ContactEvents.new instance[:beginEvents] = _beginEvents_ instance[:endEvents] = _endEvents_ instance[:hitEvents] = _hitEvents_ instance[:beginCount] = _beginCount_ instance[:endCount] = _endCount_ instance[:hitCount] = _hitCount_ instance end |
Instance Method Details
#beginCount ⇒ Object
1319 |
# File 'lib/box2d_types.rb', line 1319 def beginCount = self[:beginCount] |
#beginCount=(v) ⇒ Object
1320 |
# File 'lib/box2d_types.rb', line 1320 def beginCount=(v) self[:beginCount] = v end |
#beginEvents ⇒ Object
1313 |
# File 'lib/box2d_types.rb', line 1313 def beginEvents = self[:beginEvents] |
#beginEvents=(v) ⇒ Object
1314 |
# File 'lib/box2d_types.rb', line 1314 def beginEvents=(v) self[:beginEvents] = v end |
#endCount ⇒ Object
1321 |
# File 'lib/box2d_types.rb', line 1321 def endCount = self[:endCount] |
#endCount=(v) ⇒ Object
1322 |
# File 'lib/box2d_types.rb', line 1322 def endCount=(v) self[:endCount] = v end |
#endEvents ⇒ Object
1315 |
# File 'lib/box2d_types.rb', line 1315 def endEvents = self[:endEvents] |
#endEvents=(v) ⇒ Object
1316 |
# File 'lib/box2d_types.rb', line 1316 def endEvents=(v) self[:endEvents] = v end |
#hitCount ⇒ Object
1323 |
# File 'lib/box2d_types.rb', line 1323 def hitCount = self[:hitCount] |
#hitCount=(v) ⇒ Object
1324 |
# File 'lib/box2d_types.rb', line 1324 def hitCount=(v) self[:hitCount] = v end |
#hitEvents ⇒ Object
1317 |
# File 'lib/box2d_types.rb', line 1317 def hitEvents = self[:hitEvents] |
#hitEvents=(v) ⇒ Object
1318 |
# File 'lib/box2d_types.rb', line 1318 def hitEvents=(v) self[:hitEvents] = v end |