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

            if (this.Map != null)
            {
                if (this != null && this.RegionArea != null && this.RegionArea.Length > 0)
                {
                    region = new SigilRegion(RegionName, this.Map, 255, RegionArea);
                    region.Register();
                }
            }
        }
Exemplo n.º 2
0
        public void UpdateRegion()
        {
            if (region != null)
                region.Unregister();

            if (this.Map != null)
            {
                if (this != null && this.RegionArea != null && this.RegionArea.Length > 0)
                {
                    region = new SigilRegion(RegionName, this.Map, 255, RegionArea);
                    region.Register();
                }
            }
        }