Пример #1
0
            protected override void OnTick()
            {
                if (m_Owner.Deleted)
                {
                    Stop();
                    return;
                }

                Map map = m_Owner.Map;

                if (map == null)
                {
                    return;
                }

                DespBossTwo wife = new DespBossTwo(m_Owner);

                wife.MoveToWorld(m_Owner.Location, m_Owner.Map);
            }
Пример #2
0
			protected override void OnTick()
			{
				if ( m_Owner.Deleted )
				{
					Stop();
					return;
				}

			Map map = m_Owner.Map;

			if ( map == null )
				return;

			DespBossTwo wife = new DespBossTwo( m_Owner );
                    	wife.MoveToWorld( m_Owner.Location, m_Owner.Map );
			}