public void ApplyConditionShouldCall(string damage, string source)
        {
            string damageReceived = string.Empty;
            string description    = string.Empty;

            controllerMock.Setup(s => s.DoDamageToPlayer(It.IsAny <int>(), It.IsAny <string>()))
            .Callback <int, string>((d, desc) =>
            {
                damageReceived = d.ToString();
                description    = desc;
            });

            var c = new DamageCondition(damage, source);

            c.ApplyCondition(controllerMock.Object);
            Assert.Equal(damageReceived, damage);
            Assert.Equal(description, source);
        }
        public void IsConditionFulfilledShouldReturnTrue()
        {
            var c = new DamageCondition(string.Empty, string.Empty);

            Assert.True(c.IsConditionFulfilled(null, null));
        }
 public void Step(ref DamageInfo token, DamageCondition condition)
 {
     TriggerDeathAnimation(token.entityDamagedID);
 }
 public void Step(ref DamageInfo token, DamageCondition condition)
 {
     StopMovementOnDeath(token.entityDamagedID);
 }