Class: Box2D::SensorEndTouchEvent

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(_sensorShapeId_, _visitorShapeId_) ⇒ Object



1284
1285
1286
1287
1288
1289
# File 'lib/box2d_types.rb', line 1284

def self.create_as(_sensorShapeId_, _visitorShapeId_)
  instance = SensorEndTouchEvent.new
  instance[:sensorShapeId] = _sensorShapeId_
  instance[:visitorShapeId] = _visitorShapeId_
  instance
end

Instance Method Details

#sensorShapeIdObject



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

def sensorShapeId = self[:sensorShapeId]

#sensorShapeId=(v) ⇒ Object



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

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

#visitorShapeIdObject



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

def visitorShapeId = self[:visitorShapeId]

#visitorShapeId=(v) ⇒ Object



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

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