Click or drag to resize

MapAnimationExtensionsAnimateTPoint Method (IMapTPoint, FuncVector2, Single, Vector2)

Only use this method if animation(x, -t) is the inverse of animation(x, t).

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IMap<TPoint> Animate<TPoint>(
	this IMap<TPoint> map,
	Func<Vector2, float, Vector2> animation
)
where TPoint : Object, IGridPoint<TPoint>

Parameters

map
Type: Gamelogic.GridsIMapTPoint
animation
Type: SystemFuncVector2, Single, Vector2

Type Parameters

TPoint

Return Value

Type: IMapTPoint

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMapTPoint. 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