CreepTests DrawingCreepCreatesCreepModel Method Delta Engine Documentation

Namespace: CreepyTowers.Tests.Creeps
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 creep = new Creep(CreepType.Cloth, Vector3D.Zero);
    creep.RenderModel();
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Model>().Count);
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Creep>().Count);
}
See Also