mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
AIPathfinder remove unused init method
This commit is contained in:
@@ -25,11 +25,6 @@ AIPathfinder::AIPathfinder(CPlayerSpecificInfoCallback * cb, Nullkiller * aiNk)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void AIPathfinder::init()
|
|
||||||
{
|
|
||||||
storage.reset();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool AIPathfinder::isTileAccessible(const HeroPtr & hero, const int3 & tile) const
|
bool AIPathfinder::isTileAccessible(const HeroPtr & hero, const int3 & tile) const
|
||||||
{
|
{
|
||||||
return storage->isTileAccessible(hero, tile, EPathfindingLayer::LAND)
|
return storage->isTileAccessible(hero, tile, EPathfindingLayer::LAND)
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ public:
|
|||||||
void updatePaths(const std::map<const CGHeroInstance *, HeroRole> & heroes, PathfinderSettings pathfinderSettings);
|
void updatePaths(const std::map<const CGHeroInstance *, HeroRole> & heroes, PathfinderSettings pathfinderSettings);
|
||||||
void updateGraphs(const std::map<const CGHeroInstance *, HeroRole> & heroes, uint8_t mainScanDepth, uint8_t scoutScanDepth);
|
void updateGraphs(const std::map<const CGHeroInstance *, HeroRole> & heroes, uint8_t mainScanDepth, uint8_t scoutScanDepth);
|
||||||
void calculateQuickPathsWithBlocker(std::vector<AIPath> & result, const std::vector<const CGHeroInstance *> & heroes, const int3 & tile);
|
void calculateQuickPathsWithBlocker(std::vector<AIPath> & result, const std::vector<const CGHeroInstance *> & heroes, const int3 & tile);
|
||||||
void init();
|
|
||||||
|
|
||||||
std::shared_ptr<AINodeStorage>getStorage()
|
std::shared_ptr<AINodeStorage>getStorage()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user