Beispiel #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);
 }
Beispiel #2
0
 public virtual void Dispose()
 {
     owner = null;
     timer.Dispose();
     System.GC.SuppressFinalize(this);
 }