Worked out the basic server layout
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef SERVER_HPP_
|
||||
#define SERVER_HPP_
|
||||
|
||||
#include "tcp_network_manager.hpp"
|
||||
|
||||
class Server {
|
||||
public:
|
||||
Server();
|
||||
@@ -9,7 +11,13 @@ public:
|
||||
void Init();
|
||||
void Proc();
|
||||
void Quit();
|
||||
|
||||
void HandleInput();
|
||||
void UpdateWorld();
|
||||
void HandleOutput();
|
||||
private:
|
||||
bool running;
|
||||
TCPNetworkManager netMgr;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user