TowerTests DisplayAndDisposeTower 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 DisplayAndDisposeTower()
Examples

[Test]
public void DisplayAndDisposeTower()
{
    var tower = new Tower(TowerType.Water, Vector3D.Zero, 170.0f);
    tower.RenderModel();
    tower.Dispose();
    Assert.AreEqual(0, EntitiesRunner.Current.GetEntitiesOfType<Tower>().Count);
}
See Also