SpecialAttackSelectorTests DragonBreathOfFire 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 DragonBreathOfFire()
Examples

[Test]
public void DragonBreathOfFire()
{
    var player = new Player();
    player.Avatar.ActivatedSpecialAttack = AvatarAttack.DragonBreathOfFire;
    player.Avatar.SpecialAttackAIsActivated = true;
    SpecialAttackSelector.SelectAttack(Vector2D.One);
    Assert.IsFalse(player.Avatar.SpecialAttackAIsActivated);
}
See Also