equal
deleted
inserted
replaced
18 * File created on 02/04/2010. |
18 * File created on 02/04/2010. |
19 */ |
19 */ |
20 |
20 |
21 |
21 |
22 #import "HogHatViewController.h" |
22 #import "HogHatViewController.h" |
23 #import "CommodityFunctions.h" |
23 |
24 #import "UIImageExtra.h" |
|
25 |
24 |
26 @implementation HogHatViewController |
25 @implementation HogHatViewController |
27 @synthesize teamDictionary, hatArray, normalHogSprite, lastIndexPath, selectedHog; |
26 @synthesize teamDictionary, hatArray, normalHogSprite, lastIndexPath, selectedHog; |
28 |
27 |
29 |
28 |
46 UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile]; |
45 UIImage *hogSprite = [[UIImage alloc] initWithContentsOfFile:normalHogFile]; |
47 [normalHogFile release]; |
46 [normalHogFile release]; |
48 self.normalHogSprite = hogSprite; |
47 self.normalHogSprite = hogSprite; |
49 [hogSprite release]; |
48 [hogSprite release]; |
50 |
49 |
51 self.title = NSLocalizedString(@"Change hedgehog's hat",@""); |
50 self.title = NSLocalizedString(@"Change hedgehogs' hat",@""); |
52 } |
51 } |
53 |
52 |
54 -(void) viewWillAppear:(BOOL)animated { |
53 -(void) viewWillAppear:(BOOL)animated { |
55 [super viewWillAppear:animated]; |
54 [super viewWillAppear:animated]; |
56 |
55 |