///////////////////////////////////////////////////////////////////// // Created by [Dennis Andersen] [2013] ///////////////////////////////////////////////////////////////////// #ifndef DANBIASSERVER_GAME_SERVER_H #define DANBIASSERVER_GAME_SERVER_H #include "GameServerAPI.h" #include "GameLobby.h" #include #include namespace DanBias { class GameServer { public: GameServer(); virtual~GameServer(); DanBiasServerReturn Create(const GameServerAPI::GameInitDesc& desc); private: static void Run(GameServer* owner); void Run(); void Release(); private: int maxClients; Utility::DynamicMemory::SmartPointer lobby; Utility::DynamicMemory::SmartPointer server; }; }// End namspace DanBias #endif // !DANBIASSERVER_DBSERVER_H