public RefreshDecay ( bool setDecayTime ) : void | ||
setDecayTime | bool | |
Résultat | void |
public virtual void RefreshDecay( bool setDecayTime )
{
if ( Deleted )
return;
if ( m_DecayTimer != null )
m_DecayTimer.Stop();
if ( setDecayTime )
m_DecayTime = DateTime.Now + DecayDelay;
m_DecayTimer = Timer.DelayCall( DecayDelay, new TimerCallback( Delete ) );
}