cocoaTouch/GeneralSettingsViewController.h
author smxx
Mon, 19 Apr 2010 13:31:08 +0000
changeset 3359 d17b9f6adae5
parent 3332 3c90a923f156
permissions -rw-r--r--
Engine: * Let gears collide once they significantly leave visible area (might need more testing) * Added skipping sound to gears skipping on water surface Frontend: * Fixed loading/saving of control bindings

//
//  SettingsViewController.h
//  hwengine
//
//  Created by Vittorio on 08/01/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
    NSMutableDictionary *settingsDictionary;
	UITextField *textFieldBeingEdited;
	UISwitch *musicSwitch;
	UISwitch *soundSwitch;
	UISwitch *altDamageSwitch;
    BOOL isWriteNeeded;
}

@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
@property (nonatomic, retain) UISwitch *musicSwitch;
@property (nonatomic, retain) UISwitch *soundSwitch;
@property (nonatomic, retain) UISwitch *altDamageSwitch;

#define kNetworkFields 0
#define kAudioFields 1
#define kOtherFields 2

@end