44 |
NSMutableArray *_initialPositions; |
NSMutableArray *_initialPositions; |
45 |
u_int8_t _seaLevel; |
u_int8_t _seaLevel; |
46 |
NSString *_fileName; |
NSString *_fileName; |
|
|
|
|
@protected |
|
|
u_int8_t *_heightField; |
|
|
int _xLength; |
|
|
int _zLength; |
|
47 |
} |
} |
48 |
|
|
49 |
+ (id) mapWithPropertyList: (NSDictionary *)propertyList; |
+ (id) mapWithPropertyList: (NSDictionary *)propertyList; |
55 |
- (id) initWithPropertyList: (NSDictionary *)propertyList; |
- (id) initWithPropertyList: (NSDictionary *)propertyList; |
56 |
- (id) initWithContentsOfFile: (NSString *)path; |
- (id) initWithContentsOfFile: (NSString *)path; |
57 |
|
|
|
- (BOOL) saveHeightFieldToFile: (NSString *)path; |
|
|
|
|
58 |
- (u_int8_t *) heightField; |
- (u_int8_t *) heightField; |
59 |
|
|
60 |
- (int) width; |
- (unsigned) width; |
61 |
- (int) height; |
- (unsigned) height; |
62 |
|
|
63 |
- (u_int8_t) heightAtPosition: (map_coord_t)position; |
- (u_int8_t) heightAtPosition: (map_coord_t)position; |
|
- (u_int8_t) heightAtMapPosition: (map_coord_t)position; |
|
64 |
- (void) setHeightAtPosition: (map_coord_t)position |
- (void) setHeightAtPosition: (map_coord_t)position |
65 |
toHeight: (int)height; |
toHeight: (int)height; |
66 |
|
|