Interaction Target Property Delta Engine Documentation

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

public Agent Target { get; }

Property Value

Type: Agent
Remarks

Tests: CreepyTowers.Tests.Stats.InteractionTests
Examples

1 unit tests call CreepyTowers.Stats.Interaction.Target
[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