The client is registering with the server

This commit is contained in:
Kayne Ruse
2013-06-17 19:53:22 +10:00
parent 69f03cd250
commit fd65fec5f7
8 changed files with 38 additions and 23 deletions
+2
View File
@@ -92,6 +92,7 @@ void SceneManager::Init() {
//instanciate the remaining services
surfaceMgr = ServiceLocator<SurfaceManager>::Set(new SurfaceManager());
netUtil = ServiceLocator<UDPNetworkUtility>::Set(new UDPNetworkUtility());
infoMgr = ServiceLocator<InformationManager>::Set(new InformationManager());
//initiate the remaining services
netUtil->Open(0, sizeof(Packet));
@@ -144,6 +145,7 @@ void SceneManager::Quit() {
configUtil = ServiceLocator<ConfigUtility>::Set(nullptr);
surfaceMgr = ServiceLocator<SurfaceManager>::Set(nullptr);
netUtil = ServiceLocator<UDPNetworkUtility>::Set(nullptr);
infoMgr = ServiceLocator<InformationManager>::Set(nullptr);
//clean up the scene
UnloadScene();