GameCamera Dispose Method Delta Engine Documentation

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

public override void Dispose()

Implements

IDisposable Dispose 
Remarks

Tests: CreepyTowers.Tests.GameCameraTests
Examples

1 unit tests call CreepyTowers.GameCamera.Dispose
[Test, CloseAfterFirstFrame]
public void DisposeWillCorrectlyDisposeCamera()
{
    gameCamera.Dispose();
    //LookAtCamera is the default Camera
    Assert.AreEqual(typeof(OrthoCamera), Camera.Current.GetType());
}
See Also