CalculateDamageTests CheckResistanceBasedOnHardboiledType 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 CheckResistanceBasedOnHardboiledType()
Examples

[Test, CloseAfterFirstFrame]
public void CheckResistanceBasedOnHardboiledType()
{
    var creep = new Creep(CreepType.Cloth, Vector3D.Zero);
    var resistance = creep.State.GetVulnerabilityValue(TowerType.Ice);
    Assert.AreEqual(0.25f, resistance);
}
See Also