BuyArmyBehavior.h 649 B

123456789101112131415161718192021222324252627282930313233343536
  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/VCMI_Lib.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. BuyArmyBehavior()
  22. {
  23. }
  24. virtual Goals::TGoalVec decompose() const override;
  25. virtual std::string toString() const override;
  26. bool operator==(const BuyArmyBehavior & other) const override
  27. {
  28. return true;
  29. }
  30. };
  31. }
  32. }