TowerTests DisposingTowerRemovesTowerEntity Method Delta Engine Documentation

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

public void DisposingTowerRemovesTowerEntity()
Examples

[Test, CloseAfterFirstFrame]
public void DisposingTowerRemovesTowerEntity()
{
    var tower = new Tower(TowerType.Water, Vector3D.Zero);
    tower.Dispose();
    Assert.IsFalse(tower.IsActive);
}
See Also