Creates a new animation of the specified parameters.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[DefaultMethodAttribute]
public XSimpleSpriteAnimator AddAnimation(
	int tileIndexStart,
	int tileIndexEnd,
	float x,
	float y,
	float x2,
	float y2
)

Parameters

tileIndexStart
Type: System..::.Int32
Start object number of the animation.
tileIndexEnd
Type: System..::.Int32
End object number of the animation.
x
Type: System..::.Single
Start X coordinate.
y
Type: System..::.Single
Start Y coordinate.
x2
Type: System..::.Single
End X coordinate.
y2
Type: System..::.Single
End Y coordinate.

Return Value

Returns the created XSimpleSpriteAnimator animation.

See Also