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
1371 1372 1373 1374 1375 1376 |
# File 'lib/box2d_types.rb', line 1371 def self.create_as(_moveEvents_, _moveCount_) instance = BodyEvents.new instance[:moveEvents] = _moveEvents_ instance[:moveCount] = _moveCount_ instance end |
Instance Method Details
#moveCount ⇒ Object
1369 |
# File 'lib/box2d_types.rb', line 1369 def moveCount = self[:moveCount] |
#moveCount=(v) ⇒ Object
1370 |
# File 'lib/box2d_types.rb', line 1370 def moveCount=(v) self[:moveCount] = v end |
#moveEvents ⇒ Object
1367 |
# File 'lib/box2d_types.rb', line 1367 def moveEvents = self[:moveEvents] |
#moveEvents=(v) ⇒ Object
1368 |
# File 'lib/box2d_types.rb', line 1368 def moveEvents=(v) self[:moveEvents] = v end |