BuyArmyBehavior.h 628 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * BuyArmyBehavior.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "lib/GameLibrary.h"
  12. #include "../AIUtility.h"
  13. #include "../Goals/CGoal.h"
  14. namespace NKAI
  15. {
  16. namespace Goals
  17. {
  18. class BuyArmyBehavior : public CGoal<BuyArmyBehavior>
  19. {
  20. public:
  21. Goals::TGoalVec decompose(const Nullkiller * ai) const override;
  22. std::string toString() const override;
  23. bool operator==(const BuyArmyBehavior & other) const override
  24. {
  25. return true;
  26. }
  27. };
  28. }
  29. }