double-hit-balls/proj.ios/Sounds.h

17 lines
296 B
C
Raw Normal View History

2018-08-13 16:29:26 +00:00
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
2018-08-14 11:53:02 +00:00
#define ShareSounds [Sounds shareInstance]
2018-08-13 16:29:26 +00:00
2018-08-14 11:53:02 +00:00
@interface Sounds : NSObject
2018-08-13 16:29:26 +00:00
+ (instancetype)shareInstance;
- (void)playBackgroundSound;
- (void)stopBackgroundSound;
- (void)playGunshotSound;
- (void)stopGunshotSound;
@end