Sha256: 1ab4f21002ec24688f315bb3138304f8ef941fbd67ee2064ea366c12002aad45

Contents?: true

Size: 740 Bytes

Versions: 4

Compression:

Stored size: 740 Bytes

Contents

//
//  B2DContactListener.h
//  Box2D
//
//  Created by Juan Jose Karam on 3/6/13.
//  Copyright (c) 2013 Joybox. All rights reserved.
//

#import <Foundation/Foundation.h>
#include "ContactListener.h"

@class B2DBody;

typedef void (^beginContactCallback)(B2DBody *firstBody, B2DBody *secondBody, bool isTouching);
typedef void (^endContactCallback)(B2DBody *firstBody, B2DBody *secondBody);


@interface B2DContactListener : NSObject {
  ContactListener *contactListener;
  beginContactCallback beginContact;
  endContactCallback endContact;
}

@property (nonatomic, assign) ContactListener *contactListener;
@property (nonatomic, copy) beginContactCallback beginContact;
@property (nonatomic, copy) endContactCallback endContact;


@end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h
joybox-1.1.1 vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h
joybox-1.1.0 vendor/vendor-ios/box_2d/box_2d_include/B2DContactListener.h
joybox-1.1.0 vendor/vendor-osx/box_2d/box_2d_include/B2DContactListener.h