1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/lib/rewardable/Configuration.cpp

27 lines
543 B
C++
Raw Normal View History

2023-04-30 15:13:07 +02:00
/*
* Configuration.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
*
*/
2023-04-30 20:36:03 +02:00
#include "StdInc.h"
2023-04-30 15:13:07 +02:00
#include "Configuration.h"
VCMI_LIB_NAMESPACE_BEGIN
Rewardable::EVisitMode Rewardable::Configuration::getVisitMode() const
{
return static_cast<EVisitMode>(visitMode);
}
ui16 Rewardable::Configuration::getResetDuration() const
{
return resetParameters.period;
}
VCMI_LIB_NAMESPACE_END