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
1451 1452 1453 1454 1455 1456 |
# File 'lib/box2d_types.rb', line 1451 def self.create_as(_moveEvents_, _moveCount_) instance = BodyEvents.new instance[:moveEvents] = _moveEvents_ instance[:moveCount] = _moveCount_ instance end |
Instance Method Details
#moveCount ⇒ Object
1449 |
# File 'lib/box2d_types.rb', line 1449 def moveCount = self[:moveCount] |
#moveCount=(v) ⇒ Object
1450 |
# File 'lib/box2d_types.rb', line 1450 def moveCount=(v) self[:moveCount] = v end |
#moveEvents ⇒ Object
1447 |
# File 'lib/box2d_types.rb', line 1447 def moveEvents = self[:moveEvents] |
#moveEvents=(v) ⇒ Object
1448 |
# File 'lib/box2d_types.rb', line 1448 def moveEvents=(v) self[:moveEvents] = v end |