Method: Box2D::SensorEvents.create_as
- Defined in:
- lib/box2d_types.rb
.create_as(_beginEvents_, _endEvents_, _beginCount_, _endCount_) ⇒ Object
1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/box2d_types.rb', line 1177 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 |