-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCamera.h
45 lines (33 loc) · 947 Bytes
/
Camera.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
42
43
44
45
//
// Camera.h
// EG-TD
//
// Created by Gurcan Yavuz on 10/8/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AbstractEntity.h"
@class GameScene;
@interface Camera : AbstractEntity {
Director *_sharedDirector;
float cameraX;
float cameraY;
float cameraZ;
float lookUpX;
float lookUpY;
float lookUpZ;
float xDifference;
float yDifference;
float _cameraSpeed;
GameScene *_scene;
}
@property (nonatomic, assign) float cameraX;
@property (nonatomic, assign) float cameraY;
@property (nonatomic, assign) float cameraZ;
@property (nonatomic, assign)float lookUpX;
@property (nonatomic, assign)float lookUpY;
@property (nonatomic, assign)float lookUpZ;
@property (nonatomic, readonly) float xDifference;
@property (nonatomic, readonly) float yDifference;
- (id)initWithTileLocation:(EGVertex3D)startLocation;
@end