project_files/HedgewarsMobile/Classes/HelpPageLobbyViewController.m
author koda
Mon, 30 Aug 2010 05:42:03 +0200
changeset 3791 98072b3871c1
permissions -rw-r--r--
help page for ingame, some other fixes here and there

    //
//  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