 | AbstractUniformGridObsoleteExtensionsGetNeighborDirectionsTCell, TPoint Method |
Note: This API is now obsolete.
Namespace:
Gamelogic.Grids
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax[ObsoleteAttribute("Use the property NeighborDirections instead")]
public static IEnumerable<TPoint> GetNeighborDirections<TCell, TPoint>(
this AbstractUniformGrid<TCell, TPoint> grid
)
where TPoint : Object, IGridPoint<TPoint>, IVectorPoint<TPoint>
Parameters
- grid
- Type: Gamelogic.GridsAbstractUniformGridTCell, TPoint
Type Parameters
- TCell
- TPoint
Return Value
Type:
IEnumerableTPointUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
AbstractUniformGridTCell,
TPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also