SpineSkeletonTests AddAnimationLooped Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Spine.Tests
Assembly: DeltaEngine.Rendering2D.Spine.Tests (in DeltaEngine.Rendering2D.Spine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void AddAnimationLooped()
Examples

[Test, CloseAfterFirstFrame]
public void AddAnimationLooped()
{
    spineboy.AddAnimationLooped("walk");
    AdvanceTimeAndUpdateEntities(2.0f);
    Assert.AreEqual(walk, spineboy.state.GetCurrent(0).Animation);
}
See Also