00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "AMInstance.h"
00011 #import "AMPlayable.h"
00012 #import "AMAnimation.h"
00013 #import <Foundation/Foundation.h>
00014
00015
00016
00017 @class AMAnimation;
00018
00019 @interface AMAnimationInstance : AMInstance <AMPlayable> {
00020
00021 AMControl *control;
00022 int attributeType;
00023
00024 NSNumber *originalValue;
00025 NSNumber *baseValue;
00026 NSNumber *endValue;
00027 float currentValue;
00028 BOOL isPlaying;
00029 double startedTime;
00030 double endingTime;
00031 int currentRepetition;
00032 double currentDur;
00033 }
00034
00035
00040 - (void)animate:(double)_currentTime;
00041
00042 @end