Namespace: CreepyTowers
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Tests: CreepyTowers.Tests.Towers.TowerTests
13 unit tests call CreepyTowers.Agent.RenderModel
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax
Implements
Actor RenderModelRemarks
Examples
[Test, CloseAfterFirstFrame] public void InitializingTowerCreatesTowerModel() { var tower = new Tower(TowerType.Water, Vector3D.Zero); tower.RenderModel(); Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Model>().Count); Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<Tower>().Count); }
[Test] public void DisplayWaterTower() { var tower = new Tower(TowerType.Water, Vector3D.Zero, 170.0f); tower.RenderModel(); }
[Test] public void DisplayAcidTower() { var tower = new Tower(TowerType.Acid, Vector3D.Zero, 120.0f); tower.RenderModel(); }
See Also