30 |
|
|
31 |
@class NSMutableArray; |
@class NSMutableArray; |
32 |
@class NSString; |
@class NSString; |
33 |
|
@class NSNumber; |
34 |
|
|
35 |
@class HgGame; |
@class HgGame; |
36 |
|
@class HgPlayer; |
37 |
|
|
38 |
@class MdlModel; |
@class MdlModel; |
39 |
|
|
40 |
@interface HgObject : NSObject |
@interface HgObject : NSObject |
46 |
coord_t _position; |
coord_t _position; |
47 |
coord_t _orientation; |
coord_t _orientation; |
48 |
HgGame *_game; |
HgGame *_game; |
49 |
HgPlayer *_player; |
NSNumber *_playerIdentifier; |
50 |
} |
} |
51 |
|
|
52 |
+ (NSString *) name; |
+ (NSString *) name; |
55 |
- (id) initWithGame: (HgGame *)game |
- (id) initWithGame: (HgGame *)game |
56 |
withPlayer: (HgPlayer *)player |
withPlayer: (HgPlayer *)player |
57 |
position: (coord_t)position; |
position: (coord_t)position; |
58 |
- (HgPlayer *) player; |
|
59 |
- (unsigned) identifier; |
- (unsigned) identifier; |
60 |
|
|
61 |
- (id) delegate; |
- (id) delegate; |
70 |
- (void) setOrientation: (coord_t)orientation; |
- (void) setOrientation: (coord_t)orientation; |
71 |
|
|
72 |
- (HgGame *) game; |
- (HgGame *) game; |
73 |
|
- (HgPlayer *) player; |
74 |
|
|
75 |
@end |
@end |
76 |
|
|