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
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 |
# File 'lib/box2d_types.rb', line 1394 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
1388 |
# File 'lib/box2d_types.rb', line 1388 def beginCount = self[:beginCount] |
#beginCount=(v) ⇒ Object
1389 |
# File 'lib/box2d_types.rb', line 1389 def beginCount=(v) self[:beginCount] = v end |
#beginEvents ⇒ Object
1382 |
# File 'lib/box2d_types.rb', line 1382 def beginEvents = self[:beginEvents] |
#beginEvents=(v) ⇒ Object
1383 |
# File 'lib/box2d_types.rb', line 1383 def beginEvents=(v) self[:beginEvents] = v end |
#endCount ⇒ Object
1390 |
# File 'lib/box2d_types.rb', line 1390 def endCount = self[:endCount] |
#endCount=(v) ⇒ Object
1391 |
# File 'lib/box2d_types.rb', line 1391 def endCount=(v) self[:endCount] = v end |
#endEvents ⇒ Object
1384 |
# File 'lib/box2d_types.rb', line 1384 def endEvents = self[:endEvents] |
#endEvents=(v) ⇒ Object
1385 |
# File 'lib/box2d_types.rb', line 1385 def endEvents=(v) self[:endEvents] = v end |
#hitCount ⇒ Object
1392 |
# File 'lib/box2d_types.rb', line 1392 def hitCount = self[:hitCount] |
#hitCount=(v) ⇒ Object
1393 |
# File 'lib/box2d_types.rb', line 1393 def hitCount=(v) self[:hitCount] = v end |
#hitEvents ⇒ Object
1386 |
# File 'lib/box2d_types.rb', line 1386 def hitEvents = self[:hitEvents] |
#hitEvents=(v) ⇒ Object
1387 |
# File 'lib/box2d_types.rb', line 1387 def hitEvents=(v) self[:hitEvents] = v end |