aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleApp/Program.cs
diff options
context:
space:
mode:
authorlbsa712007-07-17 17:47:23 +0000
committerlbsa712007-07-17 17:47:23 +0000
commitd95918f2288967de3937ec7aa648a5303eba4027 (patch)
tree7eeb692e0939d566da2e246a7077b8fcc68ec1b3 /OpenSim/Region/Examples/SimpleApp/Program.cs
parent* Added "backup" console command for sdague (diff)
downloadopensim-SC_OLD-d95918f2288967de3937ec7aa648a5303eba4027.zip
opensim-SC_OLD-d95918f2288967de3937ec7aa648a5303eba4027.tar.gz
opensim-SC_OLD-d95918f2288967de3937ec7aa648a5303eba4027.tar.bz2
opensim-SC_OLD-d95918f2288967de3937ec7aa648a5303eba4027.tar.xz
* Changed SimpleApp to use EventManager and Scene timer
* Refactored a lot of m_* and public -> wrappers
Diffstat (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleApp/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/Program.cs b/OpenSim/Region/Examples/SimpleApp/Program.cs
index 322db2c..9d798de 100644
--- a/OpenSim/Region/Examples/SimpleApp/Program.cs
+++ b/OpenSim/Region/Examples/SimpleApp/Program.cs
@@ -54,6 +54,7 @@ namespace SimpleApp
54 UDPServer udpServer; 54 UDPServer udpServer;
55 55
56 Scene scene = SetupScene(regionInfo, out udpServer); 56 Scene scene = SetupScene(regionInfo, out udpServer);
57 scene.StartTimer();
57 58
58 udpServer.ServerListener(); 59 udpServer.ServerListener();
59 60
@@ -64,7 +65,7 @@ namespace SimpleApp
64 SceneObject m_sceneObject = new MySceneObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); 65 SceneObject m_sceneObject = new MySceneObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape);
65 scene.AddEntity(m_sceneObject); 66 scene.AddEntity(m_sceneObject);
66 67
67 MyNpcCharacter m_character = new MyNpcCharacter(); 68 MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager );
68 scene.AddNewClient(m_character, false); 69 scene.AddNewClient(m_character, false);
69 70
70 m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); 71 m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit.");