diff --git a/test/mock/mock_IGameCallback.h b/test/mock/mock_IGameCallback.h index 6ec37e5c1..9a478c4f4 100644 --- a/test/mock/mock_IGameCallback.h +++ b/test/mock/mock_IGameCallback.h @@ -40,8 +40,8 @@ public: void showInfoDialog(const std::string & msg, PlayerColor player) override {} void changeSpells(const CGHeroInstance * hero, bool give, const std::set &spells) override {} - bool removeObject(const CGObjectInstance * obj) override {return false;} - void createObject(const int3 & visitablePosition, Obj type, int32_t subtype = 0) override {}; + bool removeObject(const CGObjectInstance * obj, const PlayerColor & initiator) override {return false;} + void createObject(const int3 & visitablePosition, const PlayerColor & initiator, Obj type, int32_t subtype = 0) override {}; void setOwner(const CGObjectInstance * objid, PlayerColor owner) override {} void changePrimSkill(const CGHeroInstance * hero, PrimarySkill which, si64 val, bool abs=false) override {} void changeSecSkill(const CGHeroInstance * hero, SecondarySkill which, int val, bool abs=false) override {} @@ -83,7 +83,7 @@ public: void setMovePoints(SetMovePoints * smp) override {} void setManaPoints(ObjectInstanceID hid, int val) override {} void giveHero(ObjectInstanceID id, PlayerColor player, ObjectInstanceID boatId = ObjectInstanceID()) override {} - void changeObjPos(ObjectInstanceID objid, int3 newPos) override {} + void changeObjPos(ObjectInstanceID objid, int3 newPos, const PlayerColor & initiator) override {} void heroExchange(ObjectInstanceID hero1, ObjectInstanceID hero2) override {} //when two heroes meet on adventure map void changeFogOfWar(int3 center, ui32 radius, PlayerColor player, bool hide) override {} void changeFogOfWar(std::unordered_set &tiles, PlayerColor player, bool hide) override {}