cocoaTouch/GameSetup.h
changeset 3199 1a9938a27677
parent 3189 b2eeae8ca52e
child 3364 e5403e2bf02c
equal deleted inserted replaced
3198:6947d29c2a24 3199:1a9938a27677
     9 #import <Foundation/Foundation.h>
     9 #import <Foundation/Foundation.h>
    10 #import "SDL_net.h"
    10 #import "SDL_net.h"
    11 
    11 
    12 @interface GameSetup : NSObject {
    12 @interface GameSetup : NSObject {
    13 	NSDictionary *systemSettings;
    13 	NSDictionary *systemSettings;
    14 	NSArray *teams;
    14 	NSMutableArray *teams;
    15     
    15     
    16 	NSInteger ipcPort;
    16 	NSInteger ipcPort;
    17 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
    17 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
    18 }
    18 }
    19 
    19 
    21 @property (nonatomic, retain) NSArray *teams;
    21 @property (nonatomic, retain) NSArray *teams;
    22 
    22 
    23 -(void) engineProtocol;
    23 -(void) engineProtocol;
    24 -(void) startThread: (NSString *)selector;
    24 -(void) startThread: (NSString *)selector;
    25 -(int)  sendToEngine: (NSString *)string;
    25 -(int)  sendToEngine: (NSString *)string;
    26 -(void) sendTeamData:(NSDictionary *)teamData;
    26 -(void) sendTeamData:(NSDictionary *)teamData withPlayingHogs:(int) playingHogs;
       
    27 -(void) initTeam:(NSArray *)teamLists;
       
    28 
    27 -(const char **)getSettings;
    29 -(const char **)getSettings;
       
    30 
    28 @end
    31 @end
    29