BossTests DrawingCreepCreatesCreepModel 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 DrawingCreepCreatesCreepModel()
Examples

[Test]
public void DrawingCreepCreatesCreepModel()
{
    var boss = new Boss(BossType.Cloak, Vector2D.Zero, 180.0f);
    boss.RenderModel();
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Model>().Count);
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Boss>().Count);
}
See Also