BossTests CheckDirectionOfBossVillainWithoutPath Method Delta Engine Documentation

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

public void CheckDirectionOfBossVillainWithoutPath()
Examples

[Test, CloseAfterFirstFrame]
public void CheckDirectionOfBossVillainWithoutPath()
{
    var grid = new Grid3D(new Size(10, 10));
    grid.RenderLayer = -10;
    var boss = new Boss(BossType.Cloak, Vector2D.Zero);
    AdvanceTimeAndUpdateEntities(5.0f);
    Assert.AreEqual(Vector3D.Zero, boss.Direction);
}
See Also