From d95918f2288967de3937ec7aa648a5303eba4027 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 17 Jul 2007 17:47:23 +0000 Subject: * Changed SimpleApp to use EventManager and Scene timer * Refactored a lot of m_* and public -> wrappers --- OpenSim/Region/Examples/SimpleApp/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Examples/SimpleApp/Program.cs') 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 UDPServer udpServer; Scene scene = SetupScene(regionInfo, out udpServer); + scene.StartTimer(); udpServer.ServerListener(); @@ -64,7 +65,7 @@ namespace SimpleApp SceneObject m_sceneObject = new MySceneObject(scene, scene.EventManager, LLUUID.Zero, scene.PrimIDAllocate(), pos, shape); scene.AddEntity(m_sceneObject); - MyNpcCharacter m_character = new MyNpcCharacter(); + MyNpcCharacter m_character = new MyNpcCharacter( scene.EventManager ); scene.AddNewClient(m_character, false); m_log.WriteLine(LogPriority.NORMAL, "Press enter to quit."); -- cgit v1.1