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

[Test]
public void PiggyBankPayDay()
{
    var player = new Player("", CreepyTowers.Content.Avatars.PiggyBank);
    player.Avatar.ActivatedSpecialAttack = AvatarAttack.PiggyBankPayDay;
    player.Avatar.SpecialAttackBIsActivated = true;
    SpecialAttackSelector.SelectAttack(Vector2D.One);
    Assert.IsFalse(player.Avatar.SpecialAttackBIsActivated);
}
See Also