16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 */ |
17 */ |
18 |
18 |
19 |
19 |
20 #import <Foundation/Foundation.h> |
20 #import <Foundation/Foundation.h> |
|
21 #import "EngineProtocolNetwork.h" |
21 |
22 |
22 |
23 |
23 @class EngineProtocolNetwork; |
24 @interface GameInterfaceBridge : NSObject <EngineProtocolDelegate> { |
24 |
|
25 @interface GameInterfaceBridge : NSObject { |
|
26 UIView *blackView; |
25 UIView *blackView; |
27 NSString *savePath; |
26 NSString *savePath; |
28 EngineProtocolNetwork *proto; |
27 NSInteger port; |
29 } |
28 } |
30 |
29 |
31 @property (nonatomic,retain) UIView *blackView; |
30 @property (nonatomic,retain) UIView *blackView; |
32 @property (nonatomic,retain) NSString *savePath; |
31 @property (nonatomic,retain) NSString *savePath; |
33 @property (nonatomic,retain) EngineProtocolNetwork *proto; |
32 @property (assign) NSInteger port; |
34 |
33 |
35 +(void) startLocalGame:(NSDictionary *)withOptions; |
34 +(void) startLocalGame:(NSDictionary *)withOptions; |
36 +(void) startSaveGame:(NSString *)atPath; |
35 +(void) startSaveGame:(NSString *)atPath; |
37 +(void) startMissionGame:(NSString *)withScript; |
36 +(void) startMissionGame:(NSString *)withScript; |
38 +(void) startSimpleGame; |
37 +(void) startSimpleGame; |