protected override void SetClone(GameObject obj) { base.SetClone(obj); var drawable = (DrawableGameObject)obj; drawable.Frames = (char[])Frames.Clone(); drawable.IsAnimationStopped = IsAnimationStopped; drawable.IsAnimuted = IsAnimuted; drawable.IsVisible = IsVisible; drawable.Offset = Offset; drawable.Color = Color; }
public Frames GetAnimation(int animationId) { return(Frames.Clone(this._provider.GetAnimation(animationId), this._shaderData)); }