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

[Test, CloseAfterFirstFrame]
public void Dispose()
{
    spineboy.Dispose();
}
[Test, ApproveFirstFrameScreenshot, Ignore]
public void RenderDragon()
{
    spineboy.Dispose();
    new FontText(Font.Default, "Click mouse to make the dragon bite",
        Rectangle.FromCenter(0.5f, 0.25f, 1.0f, 0.1f));
    var dragon = new SpineSkeleton("DragonAtlas", "DragonSkeleton",
        new Rectangle(0.4f, 0.75f, 0.35f, 0.35f));
    new Command(() => dragon.SetAnimation("animation")).Add(new MouseButtonTrigger());
}
See Also