Class: Box2D::BodyEvents
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::BodyEvents
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.create_as(_moveEvents_, _moveCount_) ⇒ Object
1377 1378 1379 1380 1381 1382 |
# File 'lib/box2d_types.rb', line 1377 def self.create_as(_moveEvents_, _moveCount_) instance = BodyEvents.new instance[:moveEvents] = _moveEvents_ instance[:moveCount] = _moveCount_ instance end |
Instance Method Details
#moveCount ⇒ Object
1375 |
# File 'lib/box2d_types.rb', line 1375 def moveCount = self[:moveCount] |
#moveCount=(v) ⇒ Object
1376 |
# File 'lib/box2d_types.rb', line 1376 def moveCount=(v) self[:moveCount] = v end |
#moveEvents ⇒ Object
1373 |
# File 'lib/box2d_types.rb', line 1373 def moveEvents = self[:moveEvents] |
#moveEvents=(v) ⇒ Object
1374 |
# File 'lib/box2d_types.rb', line 1374 def moveEvents=(v) self[:moveEvents] = v end |