Пример #1
0
 public object Clone()
 {
     var animationClone = new Animation(this) {_frameWidth = _frameWidth, _frameHeight = _frameHeight};
     animationClone.Reset();
     return animationClone;
 }
Пример #2
0
 private Animation(Animation animation)
 {
     _frames = animation._frames;
     FramesPerSecond = 5;
 }