Esempio n. 1
0
 public MoveAnimator(BoardPanel2D owner, TimeSpan interval, FloatingPiece floatingPiece)
 {
     this.owner         = owner;
     this.interval      = interval;
     this.floatingPiece = floatingPiece;
     timer = new System.Threading.Timer(TimerCallback);
 }
Esempio n. 2
0
 public virtual void Dispose()
 {
     owner = null;
     timer.Dispose();
     System.GC.SuppressFinalize(this);
 }