equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #import <UIKit/UIKit.h> |
22 #import <UIKit/UIKit.h> |
23 |
23 |
24 @class InGameMenuViewController; |
24 @class InGameMenuViewController; |
25 @class HelpPageViewController; |
25 @class HelpPageInGameViewController; |
26 |
26 |
27 @interface OverlayViewController : UIViewController { |
27 @interface OverlayViewController : UIViewController { |
28 // the timer that dims the overlay |
28 // the timer that dims the overlay |
29 NSTimer *dimTimer; |
29 NSTimer *dimTimer; |
30 |
30 |
32 UIPopoverController *popoverController; // iPad only, never set on iPhone |
32 UIPopoverController *popoverController; // iPad only, never set on iPhone |
33 InGameMenuViewController *popupMenu; |
33 InGameMenuViewController *popupMenu; |
34 BOOL isPopoverVisible; |
34 BOOL isPopoverVisible; |
35 |
35 |
36 // the help menu |
36 // the help menu |
37 HelpPageViewController *helpPage; |
37 HelpPageInGameViewController *helpPage; |
38 |
38 |
39 // ths touch section |
39 // ths touch section |
40 CGFloat initialDistanceForPinching; |
40 CGFloat initialDistanceForPinching; |
41 CGPoint startingPoint; |
41 CGPoint startingPoint; |
42 BOOL isAttacking; |
42 BOOL isAttacking; |
47 UISegmentedControl *grenadeTimeSegment; |
47 UISegmentedControl *grenadeTimeSegment; |
48 } |
48 } |
49 |
49 |
50 @property (nonatomic,retain) id popoverController; |
50 @property (nonatomic,retain) id popoverController; |
51 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
51 @property (nonatomic,retain) InGameMenuViewController *popupMenu; |
52 @property (nonatomic,retain) HelpPageViewController *helpPage; |
52 @property (nonatomic,retain) HelpPageInGameViewController *helpPage; |
53 @property (nonatomic,retain) UIActivityIndicatorView *loadingIndicator; |
53 @property (nonatomic,retain) UIActivityIndicatorView *loadingIndicator; |
54 @property (nonatomic,retain) UIButton *confirmButton; |
54 @property (nonatomic,retain) UIButton *confirmButton; |
55 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment; |
55 @property (nonatomic,retain) UISegmentedControl *grenadeTimeSegment; |
56 |
56 |
57 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |
57 -(void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; |