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