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



1179
1180
1181
1182
1183
1184
# File 'lib/box2d_types.rb', line 1179

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

Instance Method Details

#sensorShapeIdObject



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

def sensorShapeId = self[:sensorShapeId]

#sensorShapeId=(v) ⇒ Object



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

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

#visitorShapeIdObject



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

def visitorShapeId = self[:visitorShapeId]

#visitorShapeId=(v) ⇒ Object



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

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