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
1418 1419 1420 1421 1422 1423 |
# File 'lib/box2d_types.rb', line 1418 def self.create_as(_moveEvents_, _moveCount_) instance = BodyEvents.new instance[:moveEvents] = _moveEvents_ instance[:moveCount] = _moveCount_ instance end |
Instance Method Details
#moveCount ⇒ Object
1416 |
# File 'lib/box2d_types.rb', line 1416 def moveCount = self[:moveCount] |
#moveCount=(v) ⇒ Object
1417 |
# File 'lib/box2d_types.rb', line 1417 def moveCount=(v) self[:moveCount] = v end |
#moveEvents ⇒ Object
1414 |
# File 'lib/box2d_types.rb', line 1414 def moveEvents = self[:moveEvents] |
#moveEvents=(v) ⇒ Object
1415 |
# File 'lib/box2d_types.rb', line 1415 def moveEvents=(v) self[:moveEvents] = v end |