Class: Box2D::Hit
- Inherits:
-
Data
- Object
- Data
- Box2D::Hit
- Defined in:
- lib/box2d/hit.rb
Instance Attribute Summary collapse
-
#fraction ⇒ Object
readonly
Returns the value of attribute fraction.
-
#normal ⇒ Object
readonly
Returns the value of attribute normal.
-
#point ⇒ Object
readonly
Returns the value of attribute point.
-
#shape ⇒ Object
readonly
Returns the value of attribute shape.
Instance Attribute Details
#fraction ⇒ Object (readonly)
Returns the value of attribute fraction
4 5 6 |
# File 'lib/box2d/hit.rb', line 4 def fraction @fraction end |
#normal ⇒ Object (readonly)
Returns the value of attribute normal
4 5 6 |
# File 'lib/box2d/hit.rb', line 4 def normal @normal end |
#point ⇒ Object (readonly)
Returns the value of attribute point
4 5 6 |
# File 'lib/box2d/hit.rb', line 4 def point @point end |
#shape ⇒ Object (readonly)
Returns the value of attribute shape
4 5 6 |
# File 'lib/box2d/hit.rb', line 4 def shape @shape end |