Dwarrowdelf.EnvironmentExtensions.GetPositioningLocations C# (CSharp) Method

GetPositioningLocations() public static method

Return enterable positions around the given location, based on positioning
public static GetPositioningLocations ( this env, IntVector3 pos, DirectionSet positioning ) : IEnumerable
env this
pos IntVector3
positioning DirectionSet
return IEnumerable
        public static IEnumerable<IntVector3> GetPositioningLocations(this IEnvironmentObject env, IntVector3 pos,
			DirectionSet positioning)
        {
            return positioning.ToSurroundingPoints(pos).Where(p => CanEnter(env, p));
        }