-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJazzBallView.h
41 lines (34 loc) · 1017 Bytes
/
JazzBallView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// JazzBallView.h
// JazzBall
//
// Created by Julian on 4/1/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class GameManager;
@class RowColumnHighlightLayer;
@interface JazzBallView : UIView {
GameManager* gameMan;
CGPoint touchStartPoint;
BOOL touchHandled;
CGGradientRef redGradient, blueGradient;
CGColorSpaceRef cspace;
CALayer* backgroundImageLayer;
UITouch* firstTouch;
BOOL touchesEffectivelyCanceled;
CALayer* wallConstructionLayer;
RowColumnHighlightLayer* rowHighlightLayer, * columnHighlightLayer;
CGPoint gameOriginInSuperview;
}
-(void) setBackgroundImage:(UIImage*)image;
@property (nonatomic, retain) GameManager* gameManager;
@property (nonatomic, readonly) CALayer* backgroundImageLayer;
//-(CGRect) gameRect;
-(void) updateWallConstruction;
-(void) hideWallConstruction;
-(void) showWallConstruction;
-(void) showRowColumnHighlight;
-(void) hideRowColumnHighlight;
-(void) prepareForNewGame;
@end