add Deleted property to IEntity
cleanup Map.GetObjectsInRange additional hashtable -> dictionary conversions generic timer impl for EffectController
This commit is contained in:
parent
4fccb0c3d3
commit
436e8f054a
7 changed files with 84 additions and 76 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue