cocoaTouch/GameSetup.h
changeset 3364 e5403e2bf02c
parent 3199 1a9938a27677
child 3365 37ac593e9027
--- a/cocoaTouch/GameSetup.h	Wed Apr 21 21:38:07 2010 +0000
+++ b/cocoaTouch/GameSetup.h	Thu Apr 22 17:43:12 2010 +0000
@@ -11,20 +11,20 @@
 
 @interface GameSetup : NSObject {
 	NSDictionary *systemSettings;
-	NSMutableArray *teams;
+    NSArray *teamsConfig;
     
 	NSInteger ipcPort;
 	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
 }
 
 @property (nonatomic, retain) NSDictionary *systemSettings;
-@property (nonatomic, retain) NSArray *teams;
+@property (nonatomic, retain) NSArray *teamsConfig;
 
 -(void) engineProtocol;
 -(void) startThread: (NSString *)selector;
 -(int)  sendToEngine: (NSString *)string;
--(void) sendTeamData:(NSDictionary *)teamData withPlayingHogs:(int) playingHogs;
--(void) initTeam:(NSArray *)teamLists;
+-(void) sendTeamData:(NSString *)fileName withPlayingHogs:(NSInteger) playingHogs ofColor:(NSNumber *)color;
+-(void) sendAmmoData:(NSDictionary *)ammoData forTeams: (NSInteger)numberPlaying;
 
 -(const char **)getSettings;