BuyArmyBehavior.h 637 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/VCMI_Lib.h"
  12. #include "../AIUtility.h"
  13. #include "../Goals/CGoal.h"
  14. namespace Goals
  15. {
  16. class BuyArmyBehavior : public CGoal<BuyArmyBehavior>
  17. {
  18. public:
  19. BuyArmyBehavior()
  20. {
  21. }
  22. virtual Goals::TGoalVec decompose() const override;
  23. virtual std::string toString() const override;
  24. virtual bool operator==(const BuyArmyBehavior & other) const override
  25. {
  26. return true;
  27. }
  28. };
  29. }