Namespace: DeltaEngine.Rendering2D.Spine
Assembly: DeltaEngine.Rendering2D.Spine (in DeltaEngine.Rendering2D.Spine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Spine.Tests.SpineSkeletonTests
2 unit tests call DeltaEngine.Rendering2D.Spine.SpineSkeleton.Dispose
Assembly: DeltaEngine.Rendering2D.Spine (in DeltaEngine.Rendering2D.Spine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Implements
IDisposable DisposeRemarks
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