1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Battles: change naming from drawbridge to gate for everything

This way code is shorter and cleaner while in future we may support towns with gate only.
This commit is contained in:
Arseniy Shestakov
2016-02-13 17:40:31 +03:00
parent b946c52242
commit c5cfc8467f
16 changed files with 66 additions and 66 deletions

View File

@@ -1012,12 +1012,12 @@ void CPlayerInterface::battleObstaclePlaced(const CObstacleInstance &obstacle)
battleInt->obstaclePlaced(obstacle);
}
void CPlayerInterface::battleDrawbridgeStateChanged(const EDrawbridgeState state)
void CPlayerInterface::battleGateStateChanged(const EGateState state)
{
EVENT_HANDLER_CALLED_BY_CLIENT;
BATTLE_EVENT_POSSIBLE_RETURN;
battleInt->drawbridgeStateChanged(state);
battleInt->gateStateChanged(state);
}
void CPlayerInterface::yourTacticPhase(int distance)