Class: Box2D::ContactHit

Inherits:
Data
  • Object
show all
Defined in:
lib/box2d/events.rb

Instance Attribute Summary collapse

Instance Attribute Details

#approach_speedObject (readonly)

Returns the value of attribute approach_speed

Returns:

  • (Object)

    the current value of approach_speed



6
7
8
# File 'lib/box2d/events.rb', line 6

def approach_speed
  @approach_speed
end

#normalObject (readonly)

Returns the value of attribute normal

Returns:

  • (Object)

    the current value of normal



6
7
8
# File 'lib/box2d/events.rb', line 6

def normal
  @normal
end

#pointObject (readonly)

Returns the value of attribute point

Returns:

  • (Object)

    the current value of point



6
7
8
# File 'lib/box2d/events.rb', line 6

def point
  @point
end

#shape_aObject (readonly)

Returns the value of attribute shape_a

Returns:

  • (Object)

    the current value of shape_a



6
7
8
# File 'lib/box2d/events.rb', line 6

def shape_a
  @shape_a
end

#shape_bObject (readonly)

Returns the value of attribute shape_b

Returns:

  • (Object)

    the current value of shape_b



6
7
8
# File 'lib/box2d/events.rb', line 6

def shape_b
  @shape_b
end