PageRenderTime 19ms CodeModel.GetById 13ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Classes/VUMeter.h

http://github.com/kstenerud/ObjectAL-for-iPhone
C Header | 27 lines | 15 code | 6 blank | 6 comment | 0 complexity | ce194e3f8c37cc05aa07c019e0f68417 MD5 | raw file
 1//
 2//  VUMeter.h
 3//  ObjectAL
 4//
 5//  Created by Karl Stenerud.
 6//
 7
 8#import "cocos2d.h"
 9
10
11@interface VUMeter : CCNode
12{
13	CCSprite* needle;
14	double db;
15	double smoothing;
16	double multiplier;
17	double runningAverage;
18}
19@property(readwrite,assign) double db;
20@property(readwrite,assign) double smoothing;
21@property(readwrite,assign) double multiplier;
22
23@property(readonly) double runningAverage;
24
25+ (VUMeter*) meter;
26
27@end