Chipmunk2D Pro API Reference
7.0.1
|
Allows you to add composite objects to a space in a single method call. More...
#import <ObjectiveChipmunk.h>
Inherited by <ChipmunkBaseObject>, ChipmunkGrab, and NSArray(ChipmunkObject).
Instance Methods | |
(id< NSFastEnumeration >) | - chipmunkObjects |
Returns a list of ChipmunkBaseObject objects. | |
Allows you to add composite objects to a space in a single method call.
The easiest way to implement the ChipmunkObject protocol is to add a chipmunkObjects
instance variable with a type of NSArray*
to your class, create a synthesized property for it, and initialize it with the ChipmunkObjectFlatten() function.