diff options
author | Justin Clark-Casey (justincc) | 2011-08-03 23:20:36 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-03 23:20:36 +0100 |
commit | 61d49d4f63eafa68d0b63877029da3475d977263 (patch) | |
tree | a1d6f6c51ac50a9b9920f4dcd74765e5ad70feee /OpenSim/Region/Framework | |
parent | extend move test to check avatar is moving in the right direction after setti... (diff) | |
download | opensim-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/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/INPCModule.cs | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/INPCModule.cs b/OpenSim/Region/Framework/Interfaces/INPCModule.cs index 21a755f..fa8d6b6 100644 --- a/OpenSim/Region/Framework/Interfaces/INPCModule.cs +++ b/OpenSim/Region/Framework/Interfaces/INPCModule.cs | |||
@@ -32,9 +32,39 @@ namespace OpenSim.Region.Framework.Interfaces | |||
32 | { | 32 | { |
33 | public interface INPCModule | 33 | public interface INPCModule |
34 | { | 34 | { |
35 | /// <summary> | ||
36 | /// Create an NPC | ||
37 | /// </summary> | ||
38 | /// <param name="firstname"></param> | ||
39 | /// <param name="lastname"></param> | ||
40 | /// <param name="position"></param> | ||
41 | /// <param name="scene"></param> | ||
42 | /// <param name="cloneAppearanceFrom">The UUID of the avatar from which to clone the NPC's appearance from.</param> | ||
43 | /// <returns>The UUID of the ScenePresence created.</returns> | ||
35 | UUID CreateNPC(string firstname, string lastname, Vector3 position, Scene scene, UUID cloneAppearanceFrom); | 44 | UUID CreateNPC(string firstname, string lastname, Vector3 position, Scene scene, UUID cloneAppearanceFrom); |
36 | void Autopilot(UUID agentID, Scene scene, Vector3 pos); | 45 | |
46 | /// <summary> | ||
47 | /// Move an NPC to a target over time. | ||
48 | /// </summary> | ||
49 | /// <param name="agentID">The UUID of the NPC</param> | ||
50 | /// <param name="scene"></param> | ||
51 | /// <param name="pos"></param> | ||
52 | void MoveToTarget(UUID agentID, Scene scene, Vector3 pos); | ||
53 | |||
54 | /// <summary> | ||
55 | /// Get the NPC to say something. | ||
56 | /// </summary> | ||
57 | /// <param name="agentID">The UUID of the NPC</param> | ||
58 | /// <param name="scene"></param> | ||
59 | /// <param name="text"></param> | ||
37 | void Say(UUID agentID, Scene scene, string text); | 60 | void Say(UUID agentID, Scene scene, string text); |
61 | |||
62 | |||
63 | /// <summary> | ||
64 | /// Delete an NPC. | ||
65 | /// </summary> | ||
66 | /// <param name="agentID">The UUID of the NPC</param> | ||
67 | /// <param name="scene"></param> | ||
38 | void DeleteNPC(UUID agentID, Scene scene); | 68 | void DeleteNPC(UUID agentID, Scene scene); |
39 | } | 69 | } |
40 | } \ No newline at end of file | 70 | } \ No newline at end of file |