Exemplo n.º 1
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.KnockUp && (xWatcherToAdd as EnemyKnockupWatcher).xEn == this.xEn)
     {
         this.bToBeDestroyed = true;
     }
 }
Exemplo n.º 2
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd is ProximityBasedAlpha && this.rc == (xWatcherToAdd as ProximityBasedAlpha).rc)
     {
         this.bToBeDestroyed = true;
     }
 }
Exemplo n.º 3
0
		public override void CheckConflict(Watcher xWatcherToAdd)
		{
			if (xWatcherToAdd is ScaleInRenderComponent && this.rc == (xWatcherToAdd as ScaleInRenderComponent).rc)
			{
				this.bToBeDestroyed = true;
			}
		}
Exemplo n.º 4
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.ItemGet && this.xView == (xWatcherToAdd as SpecialItemGetWatcher).xView)
     {
         this.bToBeDestroyed = true;
     }
 }
Exemplo n.º 5
0
 public override void CheckConflict(Watcher xWatcherToAdd)
 {
     if (xWatcherToAdd is IncreasingDistortions)
     {
         this.bToBeDestroyed = true;
         this.bDestroyedByConflict = true;
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 7
0
		public override void CheckConflict(Watcher xWatcherToAdd)
		{
		}
Exemplo n.º 8
0
		public virtual void CheckConflict(Watcher xWatcherToAdd)
		{
		}