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



1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'lib/box2d_types.rb', line 1372

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



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

def beginCount = self[:beginCount]

#beginCount=(v) ⇒ Object



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

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

#beginEventsObject



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

def beginEvents = self[:beginEvents]

#beginEvents=(v) ⇒ Object



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

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

#endCountObject



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

def endCount = self[:endCount]

#endCount=(v) ⇒ Object



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

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

#endEventsObject



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

def endEvents = self[:endEvents]

#endEvents=(v) ⇒ Object



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

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

#hitCountObject



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

def hitCount = self[:hitCount]

#hitCount=(v) ⇒ Object



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

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

#hitEventsObject



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

def hitEvents = self[:hitEvents]

#hitEvents=(v) ⇒ Object



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

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