equal
deleted
inserted
replaced
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 |