1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/test/vcai/mock_ResourceManager.cpp

28 lines
665 B
C++
Raw Normal View History

2024-03-29 07:48:52 +02:00
/*
* mock_ResourceManager.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
*
*/
2018-07-26 12:06:55 +02:00
#include "StdInc.h"
#include "mock_ResourceManager.h"
void ResourceManagerMock::reserveResources(const TResources &res, Goals::TSubgoal goal)
2018-07-26 12:06:55 +02:00
{
ResourceManager::reserveResources(res, goal);
2018-07-26 12:06:55 +02:00
}
bool ResourceManagerMock::updateGoal(Goals::TSubgoal goal)
{
return ResourceManager::updateGoal(goal);
}
bool ResourceManagerMock::notifyGoalCompleted(Goals::TSubgoal goal)
{
return ResourceManager::notifyGoalCompleted(goal);
}