project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h
changeset 6263 ec41637ceb64
parent 6261 7050772ae46a
child 6265 a6944f94c19f
equal deleted inserted replaced
6262:32a032f1b178 6263:ec41637ceb64
    18  * File created on 18/04/2011.
    18  * File created on 18/04/2011.
    19  */
    19  */
    20 
    20 
    21 
    21 
    22 #import <Foundation/Foundation.h>
    22 #import <Foundation/Foundation.h>
    23 #import "EngineProtocolNetwork.h"
       
    24 
    23 
    25 @class OverlayViewController;
       
    26 
    24 
    27 @interface GameInterfaceBridge : NSObject <EngineProtocolDelegate> {
    25 @interface GameInterfaceBridge : NSObject {
    28     NSString *savePath;
       
    29     EngineProtocolNetwork *engineProtocol;
       
    30 
       
    31     NSInteger ipcPort;  // Port on which engine will listen
    26     NSInteger ipcPort;  // Port on which engine will listen
    32 }
    27 }
    33 
       
    34 @property (nonatomic,retain) NSString *savePath;
       
    35 @property (nonatomic,retain) EngineProtocolNetwork *engineProtocol;
       
    36 
    28 
    37 @property (assign) NSInteger ipcPort;
    29 @property (assign) NSInteger ipcPort;
    38 
    30 
    39 
    31 
    40 -(id)   initWithController:(id) viewController;
    32 -(id)   initWithController:(id) viewController;
    41 -(void) startLocalGame:(NSDictionary *)withOptions;
    33 -(void) startLocalGame:(NSDictionary *)withOptions;
    42 -(void) startSaveGame:(NSString *)atPath;
    34 -(void) startSaveGame:(NSString *)atPath;
    43 -(void) startMissionGame:(NSString *)withScript;
    35 -(void) startMissionGame:(NSString *)withScript;
    44 
    36 
    45 -(void) gameHasEndedWithStats:(NSArray *)stats;
       
    46 
       
    47 @end
    37 @end