public override void CheckConflict(Watcher xWatcherToAdd) { if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.KnockUp && (xWatcherToAdd as EnemyKnockupWatcher).xEn == this.xEn) { this.bToBeDestroyed = true; } }
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; } }
public override void CheckConflict(Watcher xWatcherToAdd) { if (xWatcherToAdd.enWatcherType == Watcher.WatcherType.ItemGet && this.xView == (xWatcherToAdd as SpecialItemGetWatcher).xView) { this.bToBeDestroyed = true; } }
public override void CheckConflict(Watcher xWatcherToAdd) { if (xWatcherToAdd is IncreasingDistortions) { this.bToBeDestroyed = true; this.bDestroyedByConflict = true; } }
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) { }
public virtual void CheckConflict(Watcher xWatcherToAdd) { }