24 lines
293 B
C++
24 lines
293 B
C++
#ifndef SERVER_HPP_
|
|
#define SERVER_HPP_
|
|
|
|
#include "tcp_network_manager.hpp"
|
|
|
|
class Server {
|
|
public:
|
|
Server();
|
|
~Server();
|
|
|
|
void Init();
|
|
void Proc();
|
|
void Quit();
|
|
|
|
void HandleInput();
|
|
void UpdateWorld();
|
|
void HandleOutput();
|
|
private:
|
|
bool running;
|
|
TCPNetworkManager netMgr;
|
|
};
|
|
|
|
#endif
|