cocoaTouch/overlayViewController.h
author nemo
Sat, 27 Mar 2010 03:55:12 +0000
changeset 3096 9330eead14fa
parent 3073 c22b395b6a2e
child 3113 2829ea0dd47c
permissions -rw-r--r--
Remove Distance from flake kick, reduce calls to Random() in flame replacing w/ checks on game tick and a little randomness.

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

#import <UIKit/UIKit.h>


@interface overlayViewController : UIViewController <UIActionSheetDelegate> {
    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;
-(IBAction) showPopover;

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

@end