Namespace: DeltaEngine.Rendering2D.Spine.Tests
Assembly: DeltaEngine.Rendering2D.Spine.Tests (in DeltaEngine.Rendering2D.Spine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Spine.Tests (in DeltaEngine.Rendering2D.Spine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void DrawUntilItLoopsBackToTheBeginning() { spineboy.SetAnimationLooped("walk"); spineboy.Start<Moving>(); AdvanceTimeAndUpdateEntities(3.2f); }
[Test, CloseAfterFirstFrame] public void SetAnimationLooped() { spineboy.SetAnimationLooped("walk"); AdvanceTimeAndUpdateEntities(2.5f); Assert.AreEqual(walk, spineboy.state.GetCurrent(0).Animation); }
See Also