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



1273
1274
1275
1276
1277
1278
# File 'lib/box2d_types.rb', line 1273

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

Instance Method Details

#sensorShapeIdObject



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

def sensorShapeId = self[:sensorShapeId]

#sensorShapeId=(v) ⇒ Object



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

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

#visitorShapeIdObject



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

def visitorShapeId = self[:visitorShapeId]

#visitorShapeId=(v) ⇒ Object



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

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