|
|
@@ -145,9 +145,9 @@ public:
|
|
|
virtual ~CCallback();
|
|
|
|
|
|
//client-specific functionalities (pathfinding)
|
|
|
- bool canMoveBetween(const int3 &a, const int3 &b);
|
|
|
- int3 getGuardingCreaturePosition(int3 tile);
|
|
|
- std::shared_ptr<const CPathsInfo> getPathsInfo(const CGHeroInstance * h);
|
|
|
+ virtual bool canMoveBetween(const int3 &a, const int3 &b);
|
|
|
+ virtual int3 getGuardingCreaturePosition(int3 tile);
|
|
|
+ virtual std::shared_ptr<const CPathsInfo> getPathsInfo(const CGHeroInstance * h);
|
|
|
|
|
|
std::optional<PlayerColor> getPlayerID() const override;
|
|
|
|