project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h
changeset 5224 6e8fbbfb0de5
parent 5154 851f36579ed4
child 6000 dbcebcd3d79f
--- 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