BallTests DisposeBall Method Delta Engine Documentation

Namespace: Breakout.Tests
Assembly: Breakout.Tests (in Breakout.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void DisposeBall()
Examples

[Test, CloseAfterFirstFrame]
public void DisposeBall()
{
    var ball = Resolve<Ball>();
    Assert.IsTrue(ball.IsActive);
    ball.Dispose();
    Assert.IsFalse(ball.IsActive);
}
See Also