Example #1
0
 public void Start(Repeat.Mode repeat)
 {
     this.Time      = 0;
     this.repeat    = repeat;
     this.IsStarted = true;
 }
Example #2
0
 public void Reset()
 {
     Time        = 0;
     _repeatMode = Repeat.Mode.Once;
     UpdateCurrentFrame();
 }
Example #3
0
 public void Reset()
 {
     this.Time   = 0;
     this.repeat = Repeat.Mode.Once;
     this.UpdateCurrentFrame();
 }
Example #4
0
        //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;
        }