public static bool IsPassable(this ITerrain terrain, Position position) { return(terrain.IsPassable((int)position.X, (int)position.Y)); }