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

[Test]
public void ShowTowerFiringAtAMovingCreep()
{
    camera.ZoomLevel = 1 / 20.0f;
    var tower = new Tower(TowerType.Water, new Vector2D(0, 0));
    var creep = new Creep(CreepType.Cloth, new Vector2D(1, 3));
    creep.Path = new List<Vector2D> { (new Vector2D(1, -10)) };
    tower.RenderModel();
    creep.RenderModel();
    new TowerTargetFinder();
}
See Also