Ball Dispose Method Delta Engine Documentation

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

public override void Dispose()

Implements

IDisposable Dispose 
Remarks

Tests: Breakout.Tests.BallTests
Examples

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