Class: Box2D::SensorEvents
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Box2D::SensorEvents
- Defined in:
- lib/box2d_types.rb
Class Method Summary collapse
Instance Method Summary collapse
- #beginCount ⇒ Object
- #beginCount=(v) ⇒ Object
- #beginEvents ⇒ Object
- #beginEvents=(v) ⇒ Object
- #endCount ⇒ Object
- #endCount=(v) ⇒ Object
- #endEvents ⇒ Object
- #endEvents=(v) ⇒ Object
Class Method Details
.create_as(_beginEvents_, _endEvents_, _beginCount_, _endCount_) ⇒ Object
1296 1297 1298 1299 1300 1301 1302 1303 |
# File 'lib/box2d_types.rb', line 1296 def self.create_as(_beginEvents_, _endEvents_, _beginCount_, _endCount_) instance = SensorEvents.new instance[:beginEvents] = _beginEvents_ instance[:endEvents] = _endEvents_ instance[:beginCount] = _beginCount_ instance[:endCount] = _endCount_ instance end |
Instance Method Details
#beginCount ⇒ Object
1292 |
# File 'lib/box2d_types.rb', line 1292 def beginCount = self[:beginCount] |
#beginCount=(v) ⇒ Object
1293 |
# File 'lib/box2d_types.rb', line 1293 def beginCount=(v) self[:beginCount] = v end |
#beginEvents ⇒ Object
1288 |
# File 'lib/box2d_types.rb', line 1288 def beginEvents = self[:beginEvents] |
#beginEvents=(v) ⇒ Object
1289 |
# File 'lib/box2d_types.rb', line 1289 def beginEvents=(v) self[:beginEvents] = v end |
#endCount ⇒ Object
1294 |
# File 'lib/box2d_types.rb', line 1294 def endCount = self[:endCount] |
#endCount=(v) ⇒ Object
1295 |
# File 'lib/box2d_types.rb', line 1295 def endCount=(v) self[:endCount] = v end |
#endEvents ⇒ Object
1290 |
# File 'lib/box2d_types.rb', line 1290 def endEvents = self[:endEvents] |
#endEvents=(v) ⇒ Object
1291 |
# File 'lib/box2d_types.rb', line 1291 def endEvents=(v) self[:endEvents] = v end |