29 |
@interface MdlAnimation : NSObject |
@interface MdlAnimation : NSObject |
30 |
{ |
{ |
31 |
@private |
@private |
|
NSString *_animationName; |
|
32 |
unsigned _startFrame; |
unsigned _startFrame; |
33 |
unsigned _nbFrames; |
unsigned _nbFrames; |
34 |
unsigned _loopingFrames; |
unsigned _loopingFrames; |
35 |
unsigned _framePerSecond; |
unsigned _framesPerSecond; |
36 |
} |
} |
37 |
|
|
38 |
- (id) initWithAnimationName: (NSString *)animationName |
+ (id) animWithPropertyList: (NSDictionary *)propertyList; |
39 |
start: (unsigned)startFrame |
|
40 |
nb: (unsigned)nbFrames |
- (id) initWithStartFrame: (int)startFrame |
41 |
loop: (unsigned)loopingFrames |
nbFrames: (int)nbFrames |
42 |
frame: (unsigned)framePerSecond; |
loopingFrames: (int)loopingFrames |
43 |
- (NSString *) name; |
framesPerSecond: (int)framesPerSecond; |
44 |
|
- (id) initWithPropertyList: (NSDictionary *)popertyList; |
45 |
|
|
46 |
- (unsigned) startFrame; |
- (unsigned) startFrame; |
47 |
|
- (void) setStartFrame: (int)startFrame; |
48 |
|
|
49 |
- (unsigned) nbFrames; |
- (unsigned) nbFrames; |
50 |
|
- (void) setNbFrames: (int)nbFrames; |
51 |
|
|
52 |
- (unsigned) loopingFrames; |
- (unsigned) loopingFrames; |
53 |
- (unsigned) framePerSecond; |
- (void) setLoopingFrames: (int)loopingFrames; |
54 |
|
|
55 |
|
- (unsigned) framesPerSecond; |
56 |
|
- (void) setFramesPerSecond: (int)framesPerSecond; |
57 |
|
|
58 |
@end |
@end |
59 |
|
|