FlyingPenguinTests PerformBigFireworkAttack Method Delta Engine Documentation

Namespace: CreepyTowers.Tests.Avatars
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void PerformBigFireworkAttack()
Examples

[Test]
public void PerformBigFireworkAttack()
{
    var creepOutsideRange = new Creep(CreepType.Paper, new Vector2D(4, 4));
    var creepInsideRange = new Creep(CreepType.Paper, new Vector2D(2, 2));
    player.Avatar.PerformAttack(AvatarAttack.PenguinBigFirework, new Vector2D(1, 1));
    Assert.AreEqual(1, creepOutsideRange.GetStatPercentage("Hp"));
    Assert.Less(creepInsideRange.GetStatPercentage("Hp"), 1);
}
See Also