aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs86
1 files changed, 43 insertions, 43 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs b/OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs
index 7aeff57..8a78f15 100644
--- a/OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/NPC/NPCModule.cs
@@ -1,43 +1,43 @@
1using libsecondlife; 1using libsecondlife;
2using Nini.Config; 2using Nini.Config;
3using OpenSim.Region.Environment.Interfaces; 3using OpenSim.Region.Environment.Interfaces;
4using OpenSim.Region.Environment.Scenes; 4using OpenSim.Region.Environment.Scenes;
5 5
6namespace OpenSim.Region.Environment.Modules.World.NPC 6namespace OpenSim.Region.Environment.Modules.World.NPC
7{ 7{
8 public class NPCModule : IRegionModule 8 public class NPCModule : IRegionModule
9 { 9 {
10 private const bool m_enabled = false; 10 private const bool m_enabled = false;
11 11
12 public void Initialise(Scene scene, IConfigSource source) 12 public void Initialise(Scene scene, IConfigSource source)
13 { 13 {
14 if (m_enabled) 14 if (m_enabled)
15 { 15 {
16 NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene); 16 NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene);
17 NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene); 17 NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene);
18 scene.AddNewClient(testAvatar, false); 18 scene.AddNewClient(testAvatar, false);
19 scene.AddNewClient(testAvatar2, false); 19 scene.AddNewClient(testAvatar2, false);
20 } 20 }
21 } 21 }
22 22
23 public void PostInitialise() 23 public void PostInitialise()
24 { 24 {
25 25
26 } 26 }
27 27
28 public void Close() 28 public void Close()
29 { 29 {
30 30
31 } 31 }
32 32
33 public string Name 33 public string Name
34 { 34 {
35 get { return "NPCModule"; } 35 get { return "NPCModule"; }
36 } 36 }
37 37
38 public bool IsSharedModule 38 public bool IsSharedModule
39 { 39 {
40 get { return true; } 40 get { return true; }
41 } 41 }
42 } 42 }
43} 43}