Example #1
0
 public Animation(int _timeBetweenFrames, ArrayList _imageFrames, bool _looping)
     : base(0, 0, (Texture2D)_imageFrames[0])
 {
     imageFrames = _imageFrames;
     timer = new Timer(_timeBetweenFrames, _looping ? -1 : _imageFrames.Count);
 }