Class: Box2D::SensorEvents

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/box2d_types.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.create_as(_beginEvents_, _endEvents_, _beginCount_, _endCount_) ⇒ Object



1307
1308
1309
1310
1311
1312
1313
1314
# File 'lib/box2d_types.rb', line 1307

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

#beginCountObject



1303
# File 'lib/box2d_types.rb', line 1303

def beginCount = self[:beginCount]

#beginCount=(v) ⇒ Object



1304
# File 'lib/box2d_types.rb', line 1304

def beginCount=(v) self[:beginCount] = v end

#beginEventsObject



1299
# File 'lib/box2d_types.rb', line 1299

def beginEvents = self[:beginEvents]

#beginEvents=(v) ⇒ Object



1300
# File 'lib/box2d_types.rb', line 1300

def beginEvents=(v) self[:beginEvents] = v end

#endCountObject



1305
# File 'lib/box2d_types.rb', line 1305

def endCount = self[:endCount]

#endCount=(v) ⇒ Object



1306
# File 'lib/box2d_types.rb', line 1306

def endCount=(v) self[:endCount] = v end

#endEventsObject



1301
# File 'lib/box2d_types.rb', line 1301

def endEvents = self[:endEvents]

#endEvents=(v) ⇒ Object



1302
# File 'lib/box2d_types.rb', line 1302

def endEvents=(v) self[:endEvents] = v end