... or. just move the king check to after the gear nil
//
// gameSetup.h
// hwengine
//
// Created by Vittorio on 10/01/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SDL_net.h"
@interface GameSetup : NSObject {
NSDictionary *systemSettings;
NSInteger ipcPort;
TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
}
@property (nonatomic, retain) NSDictionary *systemSettings;
-(void) engineProtocol;
-(void) startThread: (NSString *)selector;
-(int) sendToEngine: (NSString *)string;
-(const char **)getSettings;
@end