MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetFieldCost

Method GetFieldCost

engine/Poseidon/Game/OperMap.cpp:268–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268float ASOCostFunction::GetFieldCost(int x, int z) const
269{
270 PoseidonAssert(_map);
271 return _map->GetFieldCost(x, z, _locks, _vehicle, _soldier);
272}
273
274class ASOHeuristicFunction
275{

Callers 2

DrawCostMethod · 0.45
CreateFieldMethod · 0.45

Calls 4

LockingCacheMethod · 0.80
IsLockedMethod · 0.45
SizeMethod · 0.45
GetTypeCostMethod · 0.45

Tested by

no test coverage detected