public CopyAnimation( AnimationSurface originalAnimationSurface, IEnumerable<Vector2> offsetVectors) { Contract.Requires(originalAnimationSurface != null); Contract.Requires(offsetVectors != null); _animationSurface = originalAnimationSurface; _offsetVectors = offsetVectors; }
public ExtendTimeAnimation( AnimationSurface animationSurface, float frontSpanTime, float backSpanTime) { Contract.Requires(animationSurface != null); _animationSurface = animationSurface; _frontSpanTime = frontSpanTime; _backSpanTime = backSpanTime; }
public CustomCoordAnimation( AnimationSurface animationSurface, Func<Point2, Size, Point2> coordinateTransformer) { Contract.Requires(animationSurface != null); Contract.Requires(coordinateTransformer != null); _animationSurface = animationSurface; _coordinateTransformer = coordinateTransformer; }
public EndlessRepeatAnimation(AnimationSurface animationSurface) { Contract.Requires(animationSurface != null); _animationSurface = animationSurface; }
public ExtendTimeAnimation( AnimationSurface animationSurface, float backSpanTime) : this(animationSurface, 0, backSpanTime) { }