StartupBehavior.h 671 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * StartupBehavior.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 "../Goals/CGoal.h"
  13. #include "../AIUtility.h"
  14. namespace NKAI
  15. {
  16. namespace Goals
  17. {
  18. class StartupBehavior : public CGoal<StartupBehavior>
  19. {
  20. public:
  21. StartupBehavior()
  22. :CGoal(STARTUP)
  23. {
  24. }
  25. TGoalVec decompose(const Nullkiller * ai) const override;
  26. std::string toString() const override;
  27. bool operator==(const StartupBehavior & other) const override
  28. {
  29. return true;
  30. }
  31. };
  32. }
  33. }