--- a/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h Sun May 29 23:58:28 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h Mon May 30 01:14:25 2011 +0200
@@ -23,20 +23,27 @@
#import "SDL_uikitappdelegate.h"
@class MainMenuViewController;
+@class AVAudioPlayer;
@interface HedgewarsAppDelegate : SDLUIKitDelegate {
MainMenuViewController *mainViewController;
UIWindow *uiwindow;
UIWindow *secondWindow;
BOOL isInGame;
+ AVAudioPlayer *backgroundMusic;
}
-@property (assign) BOOL isInGame;
@property (nonatomic,retain) MainMenuViewController *mainViewController;
@property (nonatomic,retain) UIWindow *uiwindow;
@property (nonatomic,retain) UIWindow *secondWindow;
+@property (assign) BOOL isInGame;
+@property (nonatomic,retain) AVAudioPlayer *backgroundMusic;
+(HedgewarsAppDelegate *)sharedAppDelegate;
++(void) playBackgroundMusic;
++(void) pauseBackgroundMusic;
++(void) stopBackgroundMusic;
++(void) loadBackgroundMusic;
@end