Click or drag to resize
DirectionMoveLocation Method
Moves the specified location by one field into the specified direction.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static Vector2I MoveLocation(
	Vector2I gridLocation,
	DirectionType direction
)

Parameters

gridLocation
Type: Slash.Math.Algebra.VectorsVector2I
Location to move.
direction
Type: Slash.Math.UtilsDirectionType
Direction to move to.

Return Value

Type: Vector2I
New location after moving the specified location into the specified direction.
See Also