Beispiel #1
0
 public override bool CanBeTargetedBy(StationLocation stationLocation, PlayerActionType playerActionType, Player performingPlayer)
 {
     Check.ArgumentIsNotNull(performingPlayer, "performingPlayer");
     return(ActionType == playerActionType &&
            CurrentStations.Contains(performingPlayer.CurrentStation.StationLocation) &&
            performingPlayer != attachedPlayer);
 }
Beispiel #2
0
 public virtual bool CanBeTargetedBy(StationLocation stationLocation, PlayerActionType playerActionType, Player performingPlayer)
 {
     return(IsDamageable && ActionType == playerActionType && CurrentStations.Contains(stationLocation));
 }