File: FallingButton.h

package info (click to toggle)
chipmunk 5.3.4-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,552 kB
  • sloc: ansic: 10,469; objc: 1,845; ruby: 279; perl: 108; makefile: 62; sh: 20
file content (20 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import <Foundation/Foundation.h>

#import "ObjectiveChipmunk.h"

@interface FallingButton : NSObject <ChipmunkObject> {
	UIButton *button;
	
	ChipmunkBody *body;
	NSSet *chipmunkObjects;
	
	int touchShapes;
}

@property (readonly) UIButton *button;
@property (readonly) NSSet *chipmunkObjects;
@property int touchedShapes;

- (void)updatePosition;

@end