CreepTests CheckScaleUpdatingForCreeps 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 CheckScaleUpdatingForCreeps()
Examples

[Test, CloseAfterFirstFrame]
public void CheckScaleUpdatingForCreeps()
{
    var creep = new Creep(CreepType.Cloth, Vector2D.Zero);
    creep.RenderModel();
    creep.Scale = 3.0f * Vector3D.One;
    Assert.AreEqual(3.0f * Vector3D.One, creep.Model.Scale);
}
See Also