Namespace: CreepyTowers.Tests.Creeps
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: CreepyTowers.Tests (in CreepyTowers.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void CheckStateBurn() { var creep = new Creep(CreepType.Plastic, Vector2D.Zero); creep.ReceiveAttack(TowerType.Fire, 10.0f); AdvanceTimeAndUpdateEntities(); creep.Update(); creep.ReceiveAttack(TowerType.Fire, 10.0f); AdvanceTimeAndUpdateEntities(); creep.Update(); Assert.Less(creep.GetStatValue("Hp"), 100.0f); }
See Also