cocoaTouch/GameSetup.h
author nemo
Thu, 15 Apr 2010 20:46:34 +0000
changeset 3342 b4f01613dcd7
parent 3199 1a9938a27677
child 3364 e5403e2bf02c
permissions -rw-r--r--
Some initial stubs for portal just so Tiy will quit nagging. Also let folks know what approximation of physics I plan to try, here.

//
//  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;
	NSMutableArray *teams;
    
	NSInteger ipcPort;
	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor
}

@property (nonatomic, retain) NSDictionary *systemSettings;
@property (nonatomic, retain) NSArray *teams;

-(void) engineProtocol;
-(void) startThread: (NSString *)selector;
-(int)  sendToEngine: (NSString *)string;
-(void) sendTeamData:(NSDictionary *)teamData withPlayingHogs:(int) playingHogs;
-(void) initTeam:(NSArray *)teamLists;

-(const char **)getSettings;

@end