Namespace: CreepyTowers.Tests.Avatars
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] public void WithFlyingPenguinTowerHasFasterAttacks() { var tower = new Tower(TowerType.Fire, Vector3D.Zero); var towerProperties = ContentLoader.Load<TowerPropertiesXml>(Xml.TowerProperties.ToString()); var defaultAttackFrequency = towerProperties.Get(TowerType.Fire).AttackFrequency; Assert.AreEqual(defaultAttackFrequency * 1.3333f, tower.GetStatValue("AttackFrequency")); }
See Also