add Deleted property to IEntity

cleanup Map.GetObjectsInRange
additional hashtable -> dictionary conversions
generic timer impl for EffectController
This commit is contained in:
Mark Sturgill 2013-11-02 10:52:08 -07:00
parent 4fccb0c3d3
commit 436e8f054a
7 changed files with 84 additions and 76 deletions

View file

@ -87,12 +87,12 @@ namespace Server.Items
public virtual void ApplyDelayTo( Mobile from )
{
from.BeginAction( typeof( BaseWand ) );
Timer.DelayCall( GetUseDelay, new TimerStateCallback( ReleaseWandLock_Callback ), from );
Timer.DelayCall<Mobile>(GetUseDelay, new TimerStateCallback<Mobile>(ReleaseWandLock_Callback), from);
}
public virtual void ReleaseWandLock_Callback( object state )
public virtual void ReleaseWandLock_Callback(Mobile state)
{
((Mobile)state).EndAction( typeof( BaseWand ) );
state.EndAction(typeof(BaseWand));
}
public override void OnDoubleClick( Mobile from )