1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

refactoring RecruitHeroBehavior + test sample; renamed more Nullkiller variables consistently

This commit is contained in:
Mircea TheHonestCTO
2025-08-24 09:12:34 +02:00
parent 54ad621357
commit 58543f23cf
44 changed files with 335 additions and 261 deletions

View File

@@ -81,7 +81,7 @@ public:
const CGObjectInstance * getBlocker(const AIPath & path) const;
std::optional<const CGObjectInstance *> getBlocker(const AIPathNodeInfo & node) const;
ObjectClusterizer(const Nullkiller * ai): aiNk(ai), valueEvaluator(ai), isUpToDate(false){}
ObjectClusterizer(const Nullkiller * aiNk): aiNk(aiNk), valueEvaluator(aiNk), isUpToDate(false){}
void validateObjects();
void onObjectRemoved(ObjectInstanceID id);