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
1440 1441 1442 1443 1444 1445 |
# File 'lib/box2d_types.rb', line 1440 def self.create_as(_moveEvents_, _moveCount_) instance = BodyEvents.new instance[:moveEvents] = _moveEvents_ instance[:moveCount] = _moveCount_ instance end |
Instance Method Details
#moveCount ⇒ Object
1438 |
# File 'lib/box2d_types.rb', line 1438 def moveCount = self[:moveCount] |
#moveCount=(v) ⇒ Object
1439 |
# File 'lib/box2d_types.rb', line 1439 def moveCount=(v) self[:moveCount] = v end |
#moveEvents ⇒ Object
1436 |
# File 'lib/box2d_types.rb', line 1436 def moveEvents = self[:moveEvents] |
#moveEvents=(v) ⇒ Object
1437 |
# File 'lib/box2d_types.rb', line 1437 def moveEvents=(v) self[:moveEvents] = v end |