1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

TurnTimerInfo

This commit is contained in:
nordsoft
2023-08-14 02:16:25 +04:00
parent f01973a4f0
commit 3c9c302fd2
17 changed files with 93 additions and 31 deletions

21
lib/TurnTimerInfo.cpp Normal file
View File

@@ -0,0 +1,21 @@
/*
* TurnTimerInfo.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#include "StdInc.h"
#include "TurnTimerInfo.h"
bool TurnTimerInfo::isEnabled() const
{
return turnTimer > 0;
}
bool TurnTimerInfo::isBattleEnabled() const
{
return battleTimer > 0;
}