Class: CP::Space::SegmentQueryInfo
- Inherits:
-
Object
- Object
- CP::Space::SegmentQueryInfo
- Defined in:
- lib/chipmunk-ffi/space.rb
Instance Attribute Summary collapse
-
#hit ⇒ Object
readonly
Returns the value of attribute hit.
-
#n ⇒ Object
readonly
Returns the value of attribute n.
-
#shape ⇒ Object
readonly
Returns the value of attribute shape.
-
#t ⇒ Object
readonly
Returns the value of attribute t.
Instance Method Summary collapse
-
#initialize(hit, shape, t = nil, n = nil, info = nil) ⇒ SegmentQueryInfo
constructor
A new instance of SegmentQueryInfo.
Constructor Details
#initialize(hit, shape, t = nil, n = nil, info = nil) ⇒ SegmentQueryInfo
Returns a new instance of SegmentQueryInfo.
347 348 349 350 351 352 353 |
# File 'lib/chipmunk-ffi/space.rb', line 347 def initialize(hit,shape,t=nil,n=nil,info=nil) @hit = hit @shape = shape @t = t @n = n @info = info end |
Instance Attribute Details
#hit ⇒ Object (readonly)
Returns the value of attribute hit.
346 347 348 |
# File 'lib/chipmunk-ffi/space.rb', line 346 def hit @hit end |
#n ⇒ Object (readonly)
Returns the value of attribute n.
346 347 348 |
# File 'lib/chipmunk-ffi/space.rb', line 346 def n @n end |
#shape ⇒ Object (readonly)
Returns the value of attribute shape.
346 347 348 |
# File 'lib/chipmunk-ffi/space.rb', line 346 def shape @shape end |
#t ⇒ Object (readonly)
Returns the value of attribute t.
346 347 348 |
# File 'lib/chipmunk-ffi/space.rb', line 346 def t @t end |