Britbot
static bool Britbot.Extensions.IsReallyInRange ( this IPirateGame  game,
Location  loc1,
Location  loc2 
) [inline, static]

replacement for the function provided since it doesn't account for pirates capturing

Parameters:
gameFor the compliler magic
loc1first location
loc2second location
Returns:
true if realy the two point are within range

Definition at line 63 of file Extentions.cs.

        {
            return game.EuclidianDistanceSquared(loc1, loc2) <= game.GetAttackRadius();
        }