public object Clone() { var animationClone = new Animation(this) {_frameWidth = _frameWidth, _frameHeight = _frameHeight}; animationClone.Reset(); return animationClone; }
private Animation(Animation animation) { _frames = animation._frames; FramesPerSecond = 5; }