mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
TurnTimerInfo
This commit is contained in:
21
lib/TurnTimerInfo.cpp
Normal file
21
lib/TurnTimerInfo.cpp
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user