31 SystemSoundID selSound; |
31 SystemSoundID selSound; |
32 |
32 |
33 NSOperationQueue *audioFaderQueue; |
33 NSOperationQueue *audioFaderQueue; |
34 } |
34 } |
35 |
35 |
36 @property (nonatomic,retain) AVAudioPlayer *backgroundMusic; |
36 @property (nonatomic, strong) AVAudioPlayer *backgroundMusic; |
37 @property (assign) SystemSoundID clickSound; |
37 @property (assign) SystemSoundID clickSound; |
38 @property (assign) SystemSoundID backSound; |
38 @property (assign) SystemSoundID backSound; |
39 @property (assign) SystemSoundID selSound; |
39 @property (assign) SystemSoundID selSound; |
40 |
40 |
41 @property (nonatomic,retain) NSOperationQueue *audioFaderQueue; |
41 @property (nonatomic, strong) NSOperationQueue *audioFaderQueue; |
42 |
42 |
43 +(id) mainManager; |
43 +(id) mainManager; |
44 |
44 |
45 -(void) playBackgroundMusic; |
45 - (void)playBackgroundMusic; |
46 -(void) pauseBackgroundMusic; |
46 - (void)pauseBackgroundMusic; |
47 -(void) stopBackgroundMusic; |
47 - (void)stopBackgroundMusic; |
48 |
48 |
49 -(void) fadeInBackgroundMusic; |
49 - (void)fadeInBackgroundMusic; |
50 -(void) fadeOutBackgroundMusic; |
50 - (void)fadeOutBackgroundMusic; |
51 |
51 |
52 -(void) playClickSound; |
52 - (void)playClickSound; |
53 -(void) playBackSound; |
53 - (void)playBackSound; |
54 -(void) playSelectSound; |
54 - (void)playSelectSound; |
55 -(SystemSoundID) loadSound:(NSString *)snd; |
55 -(SystemSoundID) loadSound:(NSString *)snd; |
56 -(void) unloadSounds; |
56 - (void)unloadSounds; |
57 |
57 |
58 @end |
58 @end |