Class: Box2D::ContactEvents

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_, _hitEvents_, _beginCount_, _endCount_, _hitCount_) ⇒ Object



1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
# File 'lib/box2d_types.rb', line 1405

def self.create_as(_beginEvents_, _endEvents_, _hitEvents_, _beginCount_, _endCount_, _hitCount_)
  instance = ContactEvents.new
  instance[:beginEvents] = _beginEvents_
  instance[:endEvents] = _endEvents_
  instance[:hitEvents] = _hitEvents_
  instance[:beginCount] = _beginCount_
  instance[:endCount] = _endCount_
  instance[:hitCount] = _hitCount_
  instance
end

Instance Method Details

#beginCountObject



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

def beginCount = self[:beginCount]

#beginCount=(v) ⇒ Object



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

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

#beginEventsObject



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

def beginEvents = self[:beginEvents]

#beginEvents=(v) ⇒ Object



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

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

#endCountObject



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

def endCount = self[:endCount]

#endCount=(v) ⇒ Object



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

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

#endEventsObject



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

def endEvents = self[:endEvents]

#endEvents=(v) ⇒ Object



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

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

#hitCountObject



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

def hitCount = self[:hitCount]

#hitCount=(v) ⇒ Object



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

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

#hitEventsObject



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

def hitEvents = self[:hitEvents]

#hitEvents=(v) ⇒ Object



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

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