Ejemplo n.º 1
0
        public void Activate()
        {
            if (!Active && m_Owner != Map.Internal)
            {
                if (m_Items != null)
                {
                    for (var index = 0; index < m_Items.Count; index++)
                    {
                        Item item = m_Items[index];

                        item.OnSectorActivate();
                    }
                }

                if (m_Mobiles != null)
                {
                    for (var index = 0; index < m_Mobiles.Count; index++)
                    {
                        Mobile mob = m_Mobiles[index];

                        mob.OnSectorActivate();
                    }
                }

                m_Active = true;
            }
        }