示例#1
0
        public Controller()
        {
            _viewerServer    = new Server();
            _backboneServers = new BackboneServers();
            _agentManager    = new AgentManager(_viewerServer);
            _gridManager     = new GridManager(_viewerServer, _agentManager);
            _scene           = new SceneGraph(_viewerServer, _agentManager);

            ClientConnection.Grid         = _gridManager;
            ClientConnection.Scene        = _scene;
            ClientConnection.AgentManager = _agentManager;

            _viewerServer.Startup();

            if (Globals.Instance.StartLoginServer)
            {
                _loginServer = new LoginServer();
                _loginServer.Startup();
            }
        }
示例#2
0
        public Controller()
        {
            _viewerServer = new Server();
            _backboneServers = new BackboneServers();
            _agentManager = new AgentManager(_viewerServer);
            _gridManager = new GridManager(_viewerServer, _agentManager);
            _scene = new SceneGraph(_viewerServer, _agentManager);

            ClientConnection.Grid = _gridManager;
            ClientConnection.Scene = _scene;
            ClientConnection.AgentManager = _agentManager;

            _viewerServer.Startup();

            if(Globals.Instance.StartLoginServer)
            {
                _loginServer = new LoginServer();
                _loginServer.Startup();
            }
        }
示例#3
0
 public PhysicsManager(SceneGraph sceneGraph)
 {
     _sceneGraph = sceneGraph;
 }
 public PhysicsManager(SceneGraph sceneGraph)
 {
     _sceneGraph=sceneGraph;
 }