project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h
changeset 6870 f72cac290325
parent 6832 fae8fd118da9
child 10108 c68cf030eded
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h	Mon Apr 09 03:25:17 2012 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.h	Mon Apr 09 04:43:30 2012 +0200
@@ -18,19 +18,18 @@
 
 
 #import <Foundation/Foundation.h>
+#import "EngineProtocolNetwork.h"
 
 
-@class EngineProtocolNetwork;
-
-@interface GameInterfaceBridge : NSObject {
+@interface GameInterfaceBridge : NSObject <EngineProtocolDelegate> {
     UIView *blackView;
     NSString *savePath;
-    EngineProtocolNetwork *proto;
+    NSInteger port;
 }
 
 @property (nonatomic,retain) UIView *blackView;
 @property (nonatomic,retain) NSString *savePath;
-@property (nonatomic,retain) EngineProtocolNetwork *proto;
+@property (assign) NSInteger port;
 
 +(void) startLocalGame:(NSDictionary *)withOptions;
 +(void) startSaveGame:(NSString *)atPath;