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

[Test, CloseAfterFirstFrame]
public void CheckShatter()
{
    var creep = new Creep(CreepType.Glass, Vector2D.Zero);
    var nearCreep = new Creep(CreepType.Wood, Vector2D.UnitX);
    creep.Shatter();
    Assert.AreEqual(45.0f, nearCreep.GetStatValue("Hp"));
}
See Also