Module: CP::StaticShape
Defined Under Namespace
Classes: Circle, Poly, Segment
Instance Attribute Summary
Attributes included from Shape
Instance Method Summary collapse
Methods included from Shape
#bb, #body, #body=, #cache_bb, #chipmunk_objects, #collision_type, #collision_type=, #data, #e, #e=, #group, #group=, #layers, #layers=, #nearest_point_query, #object, #object=, #point_query, #raw_bb, reset_id_counter, #segment_query, #sensor=, #sensor?, #surface_v, #surface_v=, #u, #u=
Methods included from Object
Instance Method Details
#add_to_space(space) ⇒ Object
163 164 165 |
# File 'lib/chipmunk.rb', line 163 def add_to_space(space) space.add_static_shape(self) end |
#remove_from_space(space) ⇒ Object
167 168 169 |
# File 'lib/chipmunk.rb', line 167 def remove_from_space(space) space.remove_static_shape(self) end |