}                                                                       // Tell the core that we implement OnMovement

        public override bool OnMoveOver(Mobile m)
        {
            if ((m != null) && (m is PlayerMobile))
            {
                if (m_Stander == null)
                {
                    m_Stander = (PlayerMobile)m;

                    if (m_Timer != null)
                    {
                        m_Timer.Stop();
                    }

                    m_Timer = new InternalStandTimer(this);

                    m_Timer.Start();
                }
            }

            return(base.OnMoveOver(m));
        }
Example #2
0
        public override bool OnMoveOver( Mobile m )
        {
            if ( ( m != null ) && ( m is PlayerMobile ) )
            {
                if ( m_Stander == null )
                {
                    m_Stander = (PlayerMobile) m;

                    if ( m_Timer != null )
                        m_Timer.Stop();

                    m_Timer = new InternalStandTimer( this );

                    m_Timer.Start();
                }
            }

            return base.OnMoveOver( m );
        }