Example #1
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.KnockUp && (xWatcherToAdd as EnemyKnockupWatcher).xEn == this.xEn)
     {
         this.bToBeDestroyed = true;
     }
 }
Example #2
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd is ProximityBasedAlpha && this.rc == (xWatcherToAdd as ProximityBasedAlpha).rc)
     {
         this.bToBeDestroyed = true;
     }
 }
		public override void CheckConflict(Watcher xWatcherToAdd)
		{
			if (xWatcherToAdd is ScaleInRenderComponent && this.rc == (xWatcherToAdd as ScaleInRenderComponent).rc)
			{
				this.bToBeDestroyed = true;
			}
		}
Example #4
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.ItemGet && this.xView == (xWatcherToAdd as SpecialItemGetWatcher).xView)
     {
         this.bToBeDestroyed = true;
     }
 }
Example #5
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd is IncreasingDistortions)
     {
         this.bToBeDestroyed = true;
         this.bDestroyedByConflict = true;
     }
 }
Example #6
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd is PlayerBlinded && (xWatcherToAdd as PlayerBlinded).xBlindedPlayer == this.xBlindedPlayer)
     {
         if (!this.bToBeDestroyed)
         {
             if (this.iCounter < this.iFadeInLength)
             {
                 (xWatcherToAdd as PlayerBlinded).iCounter = this.iCounter + 1;
             }
             else
             {
                 (xWatcherToAdd as PlayerBlinded).iCounter = this.iFadeInLength + 1;
             }
         }
         this.bToBeDestroyed = true;
         this.xRenderComponent.Unregister();
         Program.game.xRenderMaster.RemoveFromPrerenderQueue(this.xRenderComponent);
     }
 }
		public override void CheckConflict(Watcher xWatcherToAdd)
		{
		}
Example #8
0
		public virtual void CheckConflict(Watcher xWatcherToAdd)
		{
		}