cocoaTouch/SettingsViewController.h
author smxx
Tue, 30 Mar 2010 13:20:04 +0000
changeset 3172 ae5c7f97df44
parent 2803 1f446fc5c8ec
permissions -rw-r--r--
Engine: * Lowered the number of feathers spawned by Birdy * Made hogs caugh/moan once they lose health due to poison - no longer random Frontend: * Modified game scheme editor to lookup the number of default ammoschemes (no longer hardcoded) * Added new default game schemes: Barrel Mayhem, Tunnel Hogs * Added new default weapon scheme: Tunnel Hogs

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

#import <UIKit/UIKit.h>


@interface SettingsViewController : UIViewController 
		<UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> {
	UITextField *username;
	UITextField *password;
	UISwitch *musicSwitch;
	UISwitch *soundsSwitch;
	UISwitch *altDamageSwitch;
	UITableView *settingsTable;
	UITableViewCell *volumeCell;
	UIView *buttonContainer;
	UIView *parentView;
}

@property (nonatomic, retain) IBOutlet UITextField *username;
@property (nonatomic, retain) IBOutlet UITextField *password;
@property (nonatomic, retain) UISwitch *musicSwitch;
@property (nonatomic, retain) UISwitch *soundsSwitch;
@property (nonatomic, retain) UISwitch *altDamageSwitch;
@property (nonatomic, retain) IBOutlet UITableView *settingsTable;
@property (nonatomic, retain) IBOutlet UIView *buttonContainer;
@property (nonatomic, retain) UIView *parentView;

-(IBAction) backgroundTap: (id)sender;
-(IBAction) textFieldDoneEditing: (id)sender;
-(IBAction) deleteData: (id)sender;
@end