public SceneGraph(Server server, AgentManager agentManager)
 {
     _server       = server;
     RootNode      = new Node();
     _physics      = new PhysicsManager(this);
     Commands      = new NonBlockingQueue <UpdateCommand>();
     Terrain       = new Terrain();
     _updateSender = new UpdateSender(_server, agentManager);
     _agentManager = agentManager;
     //testing
     this.SetupTemplate("objectupate168.dat");
 }
 public SceneGraph(Server server, AgentManager agentManager)
 {
     _server = server;
     RootNode = new Node();
     _physics = new PhysicsManager(this);
     Commands = new NonBlockingQueue<UpdateCommand>();
     Terrain = new Terrain();
     _updateSender = new UpdateSender(_server, agentManager);
     _agentManager = agentManager;
     //testing
     this.SetupTemplate("objectupate168.dat");
 }