mock_ResourceManager.cpp 665 B

123456789101112131415161718192021222324252627
  1. /*
  2. * mock_ResourceManager.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "mock_ResourceManager.h"
  12. void ResourceManagerMock::reserveResources(const TResources &res, Goals::TSubgoal goal)
  13. {
  14. ResourceManager::reserveResources(res, goal);
  15. }
  16. bool ResourceManagerMock::updateGoal(Goals::TSubgoal goal)
  17. {
  18. return ResourceManager::updateGoal(goal);
  19. }
  20. bool ResourceManagerMock::notifyGoalCompleted(Goals::TSubgoal goal)
  21. {
  22. return ResourceManager::notifyGoalCompleted(goal);
  23. }