Example #1
0
 public Animation(DrawImageHandler draw, Patch patch)
 {
     _draw = draw;
     _patch = patch;
     _frames = GetAnimation();
     _timer = new System.Timers.Timer(100);
     _timer.Elapsed += new ElapsedEventHandler(OnTick);
 }
Example #2
0
 public Animation(DrawImageHandler draw, Patch patch)
 {
     _draw           = draw;
     _patch          = patch;
     _frames         = GetAnimation();
     _timer          = new System.Timers.Timer(100);
     _timer.Elapsed += new ElapsedEventHandler(OnTick);
 }