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
1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'lib/box2d_types.rb', line 1219 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
1215 |
# File 'lib/box2d_types.rb', line 1215 def beginCount = self[:beginCount] |
#beginCount=(v) ⇒ Object
1216 |
# File 'lib/box2d_types.rb', line 1216 def beginCount=(v) self[:beginCount] = v end |
#beginEvents ⇒ Object
1211 |
# File 'lib/box2d_types.rb', line 1211 def beginEvents = self[:beginEvents] |
#beginEvents=(v) ⇒ Object
1212 |
# File 'lib/box2d_types.rb', line 1212 def beginEvents=(v) self[:beginEvents] = v end |
#endCount ⇒ Object
1217 |
# File 'lib/box2d_types.rb', line 1217 def endCount = self[:endCount] |
#endCount=(v) ⇒ Object
1218 |
# File 'lib/box2d_types.rb', line 1218 def endCount=(v) self[:endCount] = v end |
#endEvents ⇒ Object
1213 |
# File 'lib/box2d_types.rb', line 1213 def endEvents = self[:endEvents] |
#endEvents=(v) ⇒ Object
1214 |
# File 'lib/box2d_types.rb', line 1214 def endEvents=(v) self[:endEvents] = v end |