BuffEffect Attribute Property Delta Engine Documentation

Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public string Attribute { get; }

Property Value

Type: String
Remarks

Tests: CreepyTowers.Tests.Stats.BuffEffectTests
Examples

1 unit tests call CreepyTowers.Stats.BuffEffect.Attribute
[Test]
public void SettingsConstructor()
{
    var goldBuff = new BuffEffect("TestGoldBuff");
    Assert.AreEqual("Gold", goldBuff.Attribute);
    Assert.AreEqual(2.0f, goldBuff.Multiplier);
    Assert.AreEqual(-3.0f, goldBuff.Addition);
    Assert.AreEqual(5.0f, goldBuff.Duration);
}
See Also