Namespace: DeltaEngine.Content
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: Asteroids.Tests.GameLogicTests
1 unit tests call DeltaEngine.Content.ContentData.Dispose
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Implements
IDisposable DisposeRemarks
Examples
[Test, CloseAfterFirstFrame] public void ProjectileAndAsteroidDisposedOnCollision() { var projectile = new Projectile(new Vector2D(0.5f, 0.55f), 0); interactionLogic.CreateAsteroidsAtPosition(Vector2D.Half, 1, 1); AdvanceTimeAndUpdateEntities(); Assert.IsFalse(projectile.IsActive); }
See Also