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