44 |
NSMutableArray *_initialPositions; |
NSMutableArray *_initialPositions; |
45 |
u_int8_t _seaLevel; |
u_int8_t _seaLevel; |
46 |
NSString *_fileName; |
NSString *_fileName; |
47 |
|
|
48 |
|
@protected |
49 |
|
u_int8_t *_heightField; |
50 |
|
int _xLength; |
51 |
|
int _zLength; |
52 |
} |
} |
53 |
|
|
54 |
+ (id) mapWithPropertyList: (NSDictionary *)propertyList; |
+ (id) mapWithPropertyList: (NSDictionary *)propertyList; |
64 |
|
|
65 |
- (u_int8_t *) heightField; |
- (u_int8_t *) heightField; |
66 |
|
|
67 |
- (unsigned) width; |
- (int) width; |
68 |
- (unsigned) height; |
- (int) height; |
69 |
|
|
70 |
- (u_int8_t) heightAtPosition: (map_coord_t)position; |
- (u_int8_t) heightAtPosition: (map_coord_t)position; |
71 |
|
- (u_int8_t) heightAtMapPosition: (map_coord_t)position; |
72 |
- (void) setHeightAtPosition: (map_coord_t)position |
- (void) setHeightAtPosition: (map_coord_t)position |
73 |
toHeight: (int)height; |
toHeight: (int)height; |
74 |
|
|