mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
27 lines
708 B
C++
27 lines
708 B
C++
/* (c) Shereef Marzouk. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */
|
|
#ifndef GAME_SERVER_GAMEMODES_DDRACE_H
|
|
#define GAME_SERVER_GAMEMODES_DDRACE_H
|
|
#include <game/server/gamecontroller.h>
|
|
#include <game/server/teams.h>
|
|
#include <game/server/entities/door.h>
|
|
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
class CGameControllerDDRace: public IGameController
|
|
{
|
|
public:
|
|
|
|
CGameControllerDDRace(class CGameContext *pGameServer);
|
|
~CGameControllerDDRace();
|
|
|
|
CGameTeams m_Teams;
|
|
|
|
std::map<int, std::vector<vec2> > m_TeleOuts;
|
|
std::map<int, std::vector<vec2> > m_TeleCheckOuts;
|
|
|
|
void InitTeleporter();
|
|
virtual void Tick();
|
|
};
|
|
#endif // GAME_SERVER_GAMEMODES_DDRACE_H
|