public void Start(Repeat.Mode repeat) { this.Time = 0; this.repeat = repeat; this.IsStarted = true; }
public void Reset() { Time = 0; _repeatMode = Repeat.Mode.Once; UpdateCurrentFrame(); }
public void Reset() { this.Time = 0; this.repeat = Repeat.Mode.Once; this.UpdateCurrentFrame(); }
//public Animation FlipX() => new Animation(Name, Frames.Select(x => x.FlipX()).ToArray()); //public Animation FlipY() => new Animation(Name, Frames.Select(x => x.FlipY()).ToArray()); #endregion public void Start(Repeat.Mode repeatMode) { Time = 0; _repeatMode = repeatMode; IsStarted = true; }