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"
|
|
|
|
|
2024-06-24 03:23:26 +02:00
|
|
|
void ResourceManagerMock::reserveResources(const TResources &res, Goals::TSubgoal goal)
|
2018-07-26 12:06:55 +02:00
|
|
|
{
|
2024-06-24 03:23:26 +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);
|
|
|
|
}
|