Class: CP::Shape::SegmentQueryInfo
- Inherits:
-
Object
- Object
- CP::Shape::SegmentQueryInfo
- Defined in:
- lib/chipmunk-ffi/shape.rb
Instance Attribute Summary collapse
-
#hit ⇒ Object
readonly
Returns the value of attribute hit.
-
#n ⇒ Object
readonly
Returns the value of attribute n.
-
#t ⇒ Object
readonly
Returns the value of attribute t.
Instance Method Summary collapse
-
#initialize(hit, t = nil, n = nil, info = nil, ptr = nil) ⇒ SegmentQueryInfo
constructor
A new instance of SegmentQueryInfo.
Constructor Details
#initialize(hit, t = nil, n = nil, info = nil, ptr = nil) ⇒ SegmentQueryInfo
Returns a new instance of SegmentQueryInfo.
59 60 61 62 63 64 65 |
# File 'lib/chipmunk-ffi/shape.rb', line 59 def initialize(hit,t=nil,n=nil,info=nil,ptr=nil) @hit = hit @t = t @n = n @info = info @ptr = ptr end |
Instance Attribute Details
#hit ⇒ Object (readonly)
Returns the value of attribute hit.
58 59 60 |
# File 'lib/chipmunk-ffi/shape.rb', line 58 def hit @hit end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
58 59 60 |
# File 'lib/chipmunk-ffi/shape.rb', line 58 def n @n end |
#t ⇒ Object (readonly)
Returns the value of attribute t.
58 59 60 |
# File 'lib/chipmunk-ffi/shape.rb', line 58 def t @t end |