File: mock_ResourceManager.cpp

package info (click to toggle)
vcmi 1.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 14,672 kB
  • sloc: cpp: 181,738; sh: 220; python: 178; ansic: 69; objc: 66; xml: 59; makefile: 34
file content (18 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "StdInc.h"

#include "mock_ResourceManager.h"

void ResourceManagerMock::reserveResoures(const TResources &res, Goals::TSubgoal goal)
{
	ResourceManager::reserveResoures(res, goal);
}

bool ResourceManagerMock::updateGoal(Goals::TSubgoal goal)
{
	return ResourceManager::updateGoal(goal);
}

bool ResourceManagerMock::notifyGoalCompleted(Goals::TSubgoal goal)
{
	return ResourceManager::notifyGoalCompleted(goal);
}