12 * GNU General Public License for more details. |
12 * GNU General Public License for more details. |
13 * |
13 * |
14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software |
15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA. |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 0211-1307, USA. |
17 * |
|
18 * File created on 02/04/2010. |
|
19 */ |
17 */ |
20 |
18 |
21 |
19 |
22 #import "LevelViewController.h" |
20 #import "LevelViewController.h" |
23 |
21 |
24 |
22 |
25 @implementation LevelViewController |
23 @implementation LevelViewController |
26 @synthesize teamDictionary, levelArray, levelSprites, lastIndexPath; |
24 @synthesize teamDictionary, levelArray, levelSprites, lastIndexPath; |
27 |
25 |
28 |
|
29 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { |
26 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { |
30 return rotationManager(interfaceOrientation); |
27 return rotationManager(interfaceOrientation); |
31 } |
28 } |
32 |
|
33 |
29 |
34 #pragma mark - |
30 #pragma mark - |
35 #pragma mark View lifecycle |
31 #pragma mark View lifecycle |
36 -(void) viewDidLoad { |
32 -(void) viewDidLoad { |
37 [super viewDidLoad]; |
33 [super viewDidLoad]; |