project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m
author koda
Sat, 04 Sep 2010 03:09:16 +0200
changeset 3826 09ac3200ba25
parent 3791 98072b3871c1
permissions -rw-r--r--
Added tag Hedgewars-iOS-1.0 for changeset fd6c20cd90e3

    //
//  HelpPageLobbyViewController.m
//  Hedgewars
//
//  Created by Vittorio on 30/08/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "HelpPageLobbyViewController.h"
#import "CommodityFunctions.h"

@implementation HelpPageLobbyViewController


-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    return rotationManager(interfaceOrientation);
}

-(void) didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    // Release any cached data, images, etc that aren't in use.
}

-(void) viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

-(void) dealloc {
    [super dealloc];
}

-(IBAction) dismiss {
    [UIView beginAnimations:@"helpingame" context:NULL];
    self.view.alpha = 0;
    [UIView commitAnimations];
    [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
}

@end