mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Make IObjectInterface::cb non-static
This commit is contained in:
@ -55,14 +55,10 @@ class DLL_LINKAGE CBankInfo : public IObjectInfo
|
||||
public:
|
||||
CBankInfo(const JsonVector & Config);
|
||||
|
||||
TPossibleGuards getPossibleGuards() const;
|
||||
TPossibleGuards getPossibleGuards(IGameCallback * cb) const;
|
||||
std::vector<PossibleReward<TResources>> getPossibleResourcesReward() const;
|
||||
std::vector<PossibleReward<CStackBasicDescriptor>> getPossibleCreaturesReward() const;
|
||||
|
||||
// These functions should try to evaluate minimal possible/max possible guards to give provide information on possible thread to AI
|
||||
CArmyStructure minGuards() const override;
|
||||
CArmyStructure maxGuards() const override;
|
||||
|
||||
bool givesResources() const override;
|
||||
bool givesArtifacts() const override;
|
||||
bool givesCreatures() const override;
|
||||
|
Reference in New Issue
Block a user