Exemplo n.º 1
0
        public void UpdateRegion()
        {
            if (m_Coords != null)
            {
                if (m_Region != null)
                {
                    m_Region.Unregister();
                }

                CheckRectFix();

                m_Region = new TArenaRegion(this, this.Map, this.m_Coords.ToArray());

                m_Region.Disabled = true;

                m_Region.Register();
            }

            return;
        }
Exemplo n.º 2
0
		public void UpdateRegion()
		{
			if( m_Coords != null )
			{
				if( m_Region != null )
					m_Region.Unregister();

				CheckRectFix();

				m_Region = new TArenaRegion( this, this.Map, this.m_Coords.ToArray() );

				m_Region.Disabled = true;

				m_Region.Register();
			}

			return;
		}