#ifdef INTERFACE
-CLASS(Keyframe) EXTENDS(Animation)
+CLASS(Keyframe, Animation)
METHOD(Keyframe, addEasing, entity(entity, float, float, float(float, float, float, float)))
METHOD(Keyframe, addAnim, void(entity, entity))
METHOD(Keyframe, calcValue, float(entity, float, float, float, float))
entity makeKeyframe(entity obj, void(entity, float) objSetter, float animDuration, float animStart, float animEnd)
{
entity me;
- me = spawnKeyframe();
+ me = NEW(Keyframe);
me.configureAnimation(me, obj, objSetter, time, animDuration, animStart, animEnd);
return me;
}