diff -r 109f11de64b6 -r 3e6586c1ab4f cocoaTouch/GameSetup.m --- a/cocoaTouch/GameSetup.m Wed Mar 31 22:02:12 2010 +0000 +++ b/cocoaTouch/GameSetup.m Wed Mar 31 22:54:28 2010 +0000 @@ -14,6 +14,7 @@ #include #define BUFFER_SIZE 256 +#define debug(format, ...) CFShow([NSString stringWithFormat:format, ## __VA_ARGS__]); @implementation GameSetup @@ -31,6 +32,10 @@ return nil; } +-(NSString *)description { + return [NSString stringWithFormat:@"ipcport: %d\nsockets: %d,%d\n teams: %@\n systemSettings: %@",ipcPort,sd,csd,teams,systemSettings]; +} + -(void) dealloc { [teams release]; [systemSettings release];