mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Adjust the CGameControllerDDRace header file
- Reorder the methods as they're in the source file - Move the member variables to the end (to later apply a special access-control) - Mark Tick() override (we use C++11 and this is our own code)
This commit is contained in:
parent
cba66d96f2
commit
39938b6b2f
|
@ -15,14 +15,15 @@ public:
|
|||
CGameControllerDDRace(class CGameContext *pGameServer);
|
||||
~CGameControllerDDRace();
|
||||
|
||||
void Tick() override;
|
||||
|
||||
void InitTeleporter();
|
||||
|
||||
CGameTeams m_Teams;
|
||||
|
||||
std::map<int, std::vector<vec2>> m_TeleOuts;
|
||||
std::map<int, std::vector<vec2>> m_TeleCheckOuts;
|
||||
|
||||
void InitTeleporter();
|
||||
virtual void Tick();
|
||||
|
||||
std::shared_ptr<CScoreInitResult> m_pInitResult;
|
||||
};
|
||||
#endif // GAME_SERVER_GAMEMODES_DDRACE_H
|
||||
|
|
Loading…
Reference in a new issue