BattleShip.Core.Game.ShotOutsideTargetZone C# (CSharp) Method

ShotOutsideTargetZone() private method

private ShotOutsideTargetZone ( Player targetPlayer, GeoCoordinate shotLocation ) : bool
targetPlayer Player
shotLocation GeoCoordinate
return bool
        private bool ShotOutsideTargetZone(Player targetPlayer, GeoCoordinate shotLocation)
        {
            return GetGeoDistanceBetween(shotLocation, targetPlayer.Location) > playerTargetZoneRadius;
        }