Agent RenderModel Method Delta Engine Documentation

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

public override void RenderModel()

Implements

Actor RenderModel 
Remarks

Tests: CreepyTowers.Tests.Towers.TowerTests
Examples

13 unit tests call CreepyTowers.Agent.RenderModel
[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