mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
0c139e72f5
Removed not needed stuff
24 lines
487 B
C++
24 lines
487 B
C++
#pragma once
|
|
#include "../global.h"
|
|
#include <set>
|
|
class CVCMIServer;
|
|
class CGameState;
|
|
class CConnection;
|
|
struct StartInfo;
|
|
class CGameHandler
|
|
{
|
|
CGameState *gs;
|
|
CVCMIServer *s;
|
|
std::map<int,CConnection*> connections;
|
|
std::set<CConnection*> conns;
|
|
public:
|
|
CGameHandler(void);
|
|
~CGameHandler(void);
|
|
void init(StartInfo *si, int Seed);
|
|
void handleConnection(std::set<int> players, CConnection &c);
|
|
void run();
|
|
void newTurn();
|
|
|
|
friend class CVCMIServer;
|
|
};
|