Chipmunk2D Pro API Reference  7.0.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Instance Methods | List of all members
<ChipmunkObject> Protocol Referenceabstract

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.
 

Detailed Description

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.


The documentation for this protocol was generated from the following file: