SpineSkeletonTests DrawSpineboyWalkingToRightEdge 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 DrawSpineboyWalkingToRightEdge()
Examples

[Test, ApproveFirstFrameScreenshot]
public void DrawSpineboyWalkingToRightEdge()
{
    spineboy.DefineAnimationMix("walk", "jump", 0.2f);
    spineboy.DefineAnimationMix("jump", "walk", 0.4f);
    new Command(Jump).Add(new MouseButtonTrigger());
    spineboy.Start<Moving>();
    new FontText(Font.Default, "Click mouse to make Spineboy jump",
        Rectangle.FromCenter(0.5f, 0.25f, 1.0f, 0.1f));
}
See Also