Sha256: d549720977a54191b32d9efe48d19bb24949b10b424fff3467604a546db84206

Contents?: true

Size: 740 Bytes

Versions: 2

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

2 entries across 1 versions & 1 rubygems

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