InteractionTests Constructor Method Delta Engine Documentation

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

public void Constructor()
Examples

[Test]
public void Constructor()
{
    var effect = new BuffEffect("TestHpBuff");
    var interaction = new Interaction(tower, creep, adjustment, effect);
    Assert.AreEqual(tower, interaction.Source);
    Assert.AreEqual(creep, interaction.Target);
}
See Also