project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
author koda
Sun, 20 Jun 2010 18:35:59 +0200
changeset 3523 6592fbb969da
parent 3522 156c04c6a3d8
child 3546 ccf4854df294
permissions -rw-r--r--
fix zoom smoothness some more work for weapons on the ifrontend bugfix for the gameconfig page
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3522
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     1
//
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     2
//  SingleWeaponViewController.m
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     3
//  Hedgewars
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     4
//
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     5
//  Created by Vittorio on 19/06/10.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     7
//
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     8
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
     9
#import "SingleWeaponViewController.h"
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    10
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    11
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    12
@implementation SingleWeaponViewController
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    13
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    14
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    15
#pragma mark -
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    16
#pragma mark Initialization
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    17
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    18
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    19
- (id)initWithStyle:(UITableViewStyle)style {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    20
    // Override initWithStyle: if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    21
    if ((self = [super initWithStyle:style])) {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    22
    }
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    23
    return self;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    24
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    25
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    26
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    27
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    28
#pragma mark -
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    29
#pragma mark View lifecycle
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    30
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    31
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    32
- (void)viewDidLoad {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    33
    [super viewDidLoad];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    34
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    35
    // Uncomment the following line to preserve selection between presentations.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    36
    self.clearsSelectionOnViewWillAppear = NO;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    37
 
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    38
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    39
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    40
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    41
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    42
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    43
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    44
- (void)viewWillAppear:(BOOL)animated {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    45
    [super viewWillAppear:animated];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    46
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    47
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    48
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    49
- (void)viewDidAppear:(BOOL)animated {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    50
    [super viewDidAppear:animated];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    51
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    52
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    53
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    54
- (void)viewWillDisappear:(BOOL)animated {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    55
    [super viewWillDisappear:animated];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    56
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    57
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    58
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    59
- (void)viewDidDisappear:(BOOL)animated {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    60
    [super viewDidDisappear:animated];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    61
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    62
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    63
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    64
// Override to allow orientations other than the default portrait orientation.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    65
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    66
    // Return YES for supported orientations
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    67
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    68
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    69
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    70
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    71
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    72
#pragma mark -
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    73
#pragma mark Table view data source
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    74
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    75
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    76
    // Return the number of sections.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    77
    return 0;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    78
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    79
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    80
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    81
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    82
    // Return the number of rows in the section.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    83
    return 0;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    84
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    85
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    86
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    87
// Customize the appearance of table view cells.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    88
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    89
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    90
    static NSString *CellIdentifier = @"Cell";
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    91
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    92
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    93
    if (cell == nil) {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    94
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    95
    }
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    96
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    97
    // Configure the cell...
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    98
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
    99
    return cell;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   100
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   101
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   102
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   103
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   104
// Override to support conditional editing of the table view.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   105
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   106
    // Return NO if you do not want the specified item to be editable.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   107
    return YES;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   108
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   109
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   110
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   111
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   112
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   113
// Override to support editing the table view.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   114
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   115
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   116
    if (editingStyle == UITableViewCellEditingStyleDelete) {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   117
        // Delete the row from the data source
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   118
        [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   119
    }   
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   120
    else if (editingStyle == UITableViewCellEditingStyleInsert) {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   121
        // Create a new instance of the appropriate class, insert it into the array, and add a new row to the table view
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   122
    }   
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   123
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   124
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   125
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   126
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   127
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   128
// Override to support rearranging the table view.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   129
- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   130
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   131
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   132
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   133
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   134
/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   135
// Override to support conditional rearranging of the table view.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   136
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   137
    // Return NO if you do not want the item to be re-orderable.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   138
    return YES;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   139
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   140
*/
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   141
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   142
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   143
#pragma mark -
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   144
#pragma mark Table view delegate
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   145
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   146
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   147
    // Navigation logic may go here. Create and push another view controller.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   148
	/*
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   149
	 <#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   150
     // ...
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   151
     // Pass the selected object to the new view controller.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   152
	 [self.navigationController pushViewController:detailViewController animated:YES];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   153
	 [detailViewController release];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   154
	 */
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   155
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   156
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   157
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   158
#pragma mark -
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   159
#pragma mark Memory management
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   160
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   161
- (void)didReceiveMemoryWarning {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   162
    // Releases the view if it doesn't have a superview.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   163
    [super didReceiveMemoryWarning];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   164
    
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   165
    // Relinquish ownership any cached data, images, etc that aren't in use.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   166
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   167
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   168
- (void)viewDidUnload {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   169
    // Relinquish ownership of anything that can be recreated in viewDidLoad or on demand.
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   170
    // For example: self.myOutlet = nil;
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   171
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   172
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   173
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   174
- (void)dealloc {
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   175
    [super dealloc];
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   176
}
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   177
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   178
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   179
@end
156c04c6a3d8 add initial stubs for selecting weapons in the ifrontend
koda
parents:
diff changeset
   180