project_files/HedgewarsMobile/Classes/HedgewarsAppDelegate.h
changeset 5154 851f36579ed4
parent 5017 d29cf06d7d11
child 5224 6e8fbbfb0de5
equal deleted inserted replaced
5152:589f69a9665c 5154:851f36579ed4
    21 
    21 
    22 #import <UIKit/UIKit.h>
    22 #import <UIKit/UIKit.h>
    23 #import "SDL_uikitappdelegate.h"
    23 #import "SDL_uikitappdelegate.h"
    24 
    24 
    25 @class MainMenuViewController;
    25 @class MainMenuViewController;
    26 @class OverlayViewController;
       
    27 
    26 
    28 @interface HedgewarsAppDelegate:SDLUIKitDelegate {
    27 @interface HedgewarsAppDelegate : SDLUIKitDelegate {
    29     MainMenuViewController *mainViewController;
    28     MainMenuViewController *mainViewController;
    30     OverlayViewController *overlayController;
       
    31     UIWindow *uiwindow;
    29     UIWindow *uiwindow;
    32     UIWindow *secondWindow;
    30     UIWindow *secondWindow;
    33     BOOL isInGame;
    31     BOOL isInGame;
    34 }
    32 }
    35 
    33 
    36 @property (assign) BOOL isInGame;
    34 @property (assign) BOOL isInGame;
    37 @property (nonatomic,retain) MainMenuViewController *mainViewController;
    35 @property (nonatomic,retain) MainMenuViewController *mainViewController;
    38 @property (nonatomic,retain) OverlayViewController *overlayController;
       
    39 @property (nonatomic,retain) UIWindow *uiwindow;
    36 @property (nonatomic,retain) UIWindow *uiwindow;
    40 @property (nonatomic,retain) UIWindow *secondWindow;
    37 @property (nonatomic,retain) UIWindow *secondWindow;
    41 
    38 
    42 +(HedgewarsAppDelegate *)sharedAppDelegate;
    39 +(HedgewarsAppDelegate *)sharedAppDelegate;
    43 -(NSArray *)startSDLgame:(NSDictionary *)gameDictionary;
       
    44 -(void) displayOverlayLater:(id) object;
       
    45 
    40 
    46 @end
    41 @end
    47 
    42