Class: Box2D::SensorBeginTouchEvent

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



1267
1268
1269
1270
1271
1272
# File 'lib/box2d_types.rb', line 1267

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

Instance Method Details

#sensorShapeIdObject



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

def sensorShapeId = self[:sensorShapeId]

#sensorShapeId=(v) ⇒ Object



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

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

#visitorShapeIdObject



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

def visitorShapeId = self[:visitorShapeId]

#visitorShapeId=(v) ⇒ Object



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

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