Sha256: 85b57cd400ca072850ff337419f33c169f87549ab7b861ce94fa7b25a773ab43
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
// // CBWorld.h // CBBox2D // // Created by Juan Jose Karam on 2/17/13. // Copyright (c) 2013 Joybox. All rights reserved. // #import <Foundation/Foundation.h> @class B2DBody; @class B2DContactListener; typedef enum { kStaticBodyType = 0, kKinematicBodyType = 1, kDynamicBodyType = 2 } B2DBodyTypes; @interface B2DWorld : NSObject { b2World *world; } @property (nonatomic, assign) b2World *world; @property (nonatomic, getter = gravity, setter = setGravity:) CGPoint gravity; @property (nonatomic, getter = continuousPhysics, setter = setContinuousPhysics:) BOOL continuousPhysics; @property (nonatomic, getter = allowsSleeping, setter = setAllowsSleeping:) BOOL allowsSleeping; - (void)stepWithDelta:(CGFloat)delta velocityInteractions:(int)velocityInteractions positionInteractions:(int)positionInteractions; - (B2DBody *)createBodyInPosition:(CGPoint)position type:(B2DBodyTypes)bodyType; - (void)removeBody:(B2DBody *)body; - (void)addContactListener:(B2DContactListener *)contactListener; @end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.0.0 | vendor/vendor-ios/box_2d/box_2d_include/B2DWorld.h |
joybox-1.0.0 | vendor/vendor-osx/box_2d/box_2d_include/B2DWorld.h |