public virtual void Animate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay ) { Map map = m_Map; if ( map != null ) { ProcessDelta(); Packet p = null; IPooledEnumerable eable = map.GetClientsInRange( m_Location ); foreach ( NetState state in eable ) { if ( state.Mobile.CanSee( this ) ) { state.Mobile.ProcessDelta(); if ( p == null ) p = new MobileAnimation( this, action, frameCount, repeatCount, forward, repeat, delay ); state.Send( p ); } } eable.Free(); } }