cocoaTouch/overlayViewController.h
author nemo
Sun, 21 Mar 2010 18:42:34 +0000
changeset 3037 ab6e949eb5cb
parent 3027 32890edaa483
child 3063 0092dc37fbd6
permissions -rw-r--r--
Rename current things called utilities to Effects (since they impact game state / flags w/o using a gear) and add a bunch of things that don't cause damage and are just used to move to Utility crate.

//
//  overlayViewController.h
//  HedgewarsMobile
//
//  Created by Vittorio on 16/03/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface overlayViewController : UIViewController {
    NSTimer *dimTimer;
    CGFloat initialDistanceForPinching;
    CGPoint gestureStartPoint;
}

@property (nonatomic,retain) NSTimer *dimTimer;


-(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event;
-(void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event;

-(IBAction) buttonReleased:(id) sender;
-(IBAction) buttonPressed:(id) sender;

-(void) dimOverlay;
-(void) showMenuAfterwards;

@end