-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathBubble.h
More file actions
30 lines (25 loc) · 786 Bytes
/
Bubble.h
File metadata and controls
30 lines (25 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Bubble.h
// bubbles
//
// Created by Tom Nantais on 13-06-08.
// Copyright (c) 2013 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Bubble : NSObject
{
UIImageView *img;
}
-(BOOL)loadImage:(NSString*) strName onParent:(UIView*)parent;
-(void)tic:(CGFloat)deltaT;
@property (nonatomic,retain) UIImageView* img;
@property (nonatomic,assign) CGPoint location;
@property (nonatomic,assign) CGFloat period;
@property (nonatomic,assign) CGFloat amplitude;
@property (nonatomic,assign) CGFloat phase;
@property (nonatomic,assign) CGFloat speed;
@property (nonatomic,assign) CGFloat offset;
@property (nonatomic,readonly) CGFloat radius;
@property (nonatomic,assign) BOOL visible;
@property (nonatomic,assign) CGFloat pixelwidth;
@end