Update svn properties.

0.6.0-stable
Jeff Ames 2008-05-11 23:48:40 +00:00
parent 6cda15a53f
commit 71f074839c
2 changed files with 763 additions and 763 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,43 +1,43 @@
using libsecondlife; using libsecondlife;
using Nini.Config; using Nini.Config;
using OpenSim.Region.Environment.Interfaces; using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.Environment.Scenes; using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Region.Environment.Modules.World.NPC namespace OpenSim.Region.Environment.Modules.World.NPC
{ {
public class NPCModule : IRegionModule public class NPCModule : IRegionModule
{ {
private const bool m_enabled = false; private const bool m_enabled = false;
public void Initialise(Scene scene, IConfigSource source) public void Initialise(Scene scene, IConfigSource source)
{ {
if (m_enabled) if (m_enabled)
{ {
NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene); NPCAvatar testAvatar = new NPCAvatar("Jack", "NPC", new LLVector3(128, 128, 40), scene);
NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene); NPCAvatar testAvatar2 = new NPCAvatar("Jill", "NPC", new LLVector3(136, 128, 40), scene);
scene.AddNewClient(testAvatar, false); scene.AddNewClient(testAvatar, false);
scene.AddNewClient(testAvatar2, false); scene.AddNewClient(testAvatar2, false);
} }
} }
public void PostInitialise() public void PostInitialise()
{ {
} }
public void Close() public void Close()
{ {
} }
public string Name public string Name
{ {
get { return "NPCModule"; } get { return "NPCModule"; }
} }
public bool IsSharedModule public bool IsSharedModule
{ {
get { return true; } get { return true; }
} }
} }
} }