Example #1
0
 void VerifySpawnShieldAdornerCleared()
 {
     if (null != this.AdornerLayer &&
         null != this.spawnShieldAdorner)
     {
         this.AdornerLayer.Remove(this.spawnShieldAdorner);
         this.spawnShieldAdorner = null;
     }
 }
Example #2
0
        void VerifySpawnShieldAdornerInitialized()
        {
            if (null != this.AdornerLayer &&
                null == this.spawnShieldAdorner)
            {
                this.spawnShieldAdorner = new BuildingSpawnShieldAdorner(this);

                this.AdornerLayer.Add(this.spawnShieldAdorner);
            }
        }
        void VerifySpawnShieldAdornerInitialized()
        {
            if (null != this.AdornerLayer &&
                null == this.spawnShieldAdorner)
            {
                this.spawnShieldAdorner = new BuildingSpawnShieldAdorner(this);

                this.AdornerLayer.Add(this.spawnShieldAdorner);
            }
        }
 void VerifySpawnShieldAdornerCleared()
 {
     if (null != this.AdornerLayer &&
         null != this.spawnShieldAdorner)
     {
         this.AdornerLayer.Remove(this.spawnShieldAdorner);
         this.spawnShieldAdorner = null;
     }
 }