project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 6337 84e7d1a5e3df
parent 6321 5a0416e5a6de
child 6353 d8f62c805619
equal deleted inserted replaced
6335:f753b290d966 6337:84e7d1a5e3df
   156 
   156 
   157 #pragma mark -
   157 #pragma mark -
   158 #pragma mark Class methods for setting up the engine from outsite
   158 #pragma mark Class methods for setting up the engine from outsite
   159 +(void) startGame:(TGameType) type atPath:(NSString *)path withOptions:(NSDictionary *)config {
   159 +(void) startGame:(TGameType) type atPath:(NSString *)path withOptions:(NSDictionary *)config {
   160     [HWUtils setGameType:type];
   160     [HWUtils setGameType:type];
   161     GameInterfaceBridge *bridge = [[GameInterfaceBridge alloc] init];
   161     id bridge = [[self alloc] init];
   162     [bridge earlyEngineLaunch:path withOptions:config];
   162     [bridge earlyEngineLaunch:path withOptions:config];
   163     [bridge release];
   163     [bridge release];
   164 }
   164 }
   165 
   165 
   166 +(void) startLocalGame:(NSDictionary *)withOptions {
   166 +(void) startLocalGame:(NSDictionary *)withOptions {