Allows you to add composite objects to a space in a single method call. More...
#import <ChipmunkObject.h>
Inherited by <ChipmunkBaseObject>.
Public Member Functions | |
| (NSSet *) | - chipmunkObjects |
| Returns a set 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 NSSet* to your class, create a synthesized property for it, and initialize it with the ChipmunkObjectFlatten() function.
1.7.1