Namespace: CreepyTowers.Stats
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Tests: CreepyTowers.Tests.Stats.InteractionTests
2 unit tests call CreepyTowers.Stats.Interaction.Apply
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Remarks
Examples
[Test] public void PerformAdjustment() { var interaction = new Interaction(tower, creep, adjustment); interaction.Apply(); Assert.AreEqual(0.0f, creep.GetStatValue("Hp")); }
[Test] public void PerformBuff() { var effect = new BuffEffect("TestHpBuff"); var interaction = new Interaction(tower, creep, adjustment, effect); interaction.Apply(); Assert.AreEqual(204.0f, creep.GetStatValue("Hp")); }
See Also