aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/Tests
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-03 23:20:36 +0100
committerJustin Clark-Casey (justincc)2011-08-03 23:20:36 +0100
commit61d49d4f63eafa68d0b63877029da3475d977263 (patch)
treea1d6f6c51ac50a9b9920f4dcd74765e5ad70feee /OpenSim/Region/OptionalModules/World/NPC/Tests
parentextend move test to check avatar is moving in the right direction after setti... (diff)
downloadopensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.zip
opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.gz
opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.bz2
opensim-SC-61d49d4f63eafa68d0b63877029da3475d977263.tar.xz
rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to INPCModule
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/Tests')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
index 512405a..2e3d431 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
@@ -113,7 +113,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
113 Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos)); 113 Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos));
114 114
115 Vector3 targetPos = new Vector3(128, 128, 40); 115 Vector3 targetPos = new Vector3(128, 128, 40);
116 npcModule.Autopilot(npc.UUID, scene, targetPos); 116 npcModule.MoveToTarget(npc.UUID, scene, targetPos);
117 117
118 Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos)); 118 Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos));
119 119