internal static bool CheckFlag(ObstacleType property, ObstacleType flag) { return((property & flag) != 0); }
internal static bool CheckFlag(ObstacleType property, ObstacleType flag) { return (property & flag) != 0; }