#import "ObjectiveChipmunk/ObjectiveChipmunk.h"
@interface ChipmunkGrab : NSObject<ChipmunkObject> {
NSArray *_chipmunkObjects;
cpVect _pos;
cpFloat _smoothing;
ChipmunkShape *_grabbedShape;
id _data;
}
@property(nonatomic, readonly) cpVect pos;
@property(nonatomic, readonly) ChipmunkShape *grabbedShape;
@property(nonatomic, retain) id data;
@end
@interface ChipmunkMultiGrab : NSObject {
ChipmunkSpace *_space;
NSMutableArray *_grabs;
cpFloat _smoothing;
cpFloat _grabForce;
cpFloat _grabFriction;
cpFloat _grabRotaryFriction;
cpFloat _grabRadius;
cpShapeFilter filter;
bool (^_grabFilter)(ChipmunkShape *shape);
cpFloat (^_grabSort)(ChipmunkShape *shape, cpFloat depth);
bool _pushMode, _pullMode;
cpFloat _pushMass;
cpFloat _pushFriction;
cpFloat _pushElasticity;
cpCollisionType _pushCollisionType;
}
@property(nonatomic, assign) cpFloat smoothing;
@property(nonatomic, assign) cpFloat grabForce;
@property(nonatomic, assign) cpShapeFilter filter;
@property(nonatomic, assign) cpGroup group;
@property(nonatomic, copy) bool (^grabFilter)(ChipmunkShape *shape);
@property(nonatomic, copy) cpFloat (^grabSort)(ChipmunkShape *shape, cpFloat depth);
@property(nonatomic, assign) cpFloat grabFriction;
@property(nonatomic, assign) cpFloat grabRotaryFriction;
@property(nonatomic, assign) cpFloat grabRadius;
@property(nonatomic, assign) bool pullMode;
@property(nonatomic, assign) bool pushMode;
@property(nonatomic, assign) cpFloat pushMass;
@property(nonatomic, assign) cpFloat pushFriction;
@property(nonatomic, assign) cpFloat pushElasticity;
@property(nonatomic, assign) cpCollisionType pushCollisionType;
@property(nonatomic, readonly) NSArray *grabs;
-(id)initForSpace:(ChipmunkSpace *)space withSmoothing:(cpFloat)smoothing withGrabForce:(cpFloat)grabForce;
-(ChipmunkGrab *)beginLocation:(cpVect)pos;
-(ChipmunkGrab *)updateLocation:(cpVect)pos;
-(ChipmunkGrab *)endLocation:(cpVect)pos;
@end