2
0

DigAtTile.h 695 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * DigAtTile.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 "CGoal.h"
  12. namespace NKAI
  13. {
  14. struct HeroPtr;
  15. class AIGateway;
  16. class FuzzyHelper;
  17. namespace Goals
  18. {
  19. class DLL_EXPORT DigAtTile : public CGoal<DigAtTile>
  20. //elementar with hero on tile
  21. {
  22. public:
  23. DigAtTile()
  24. : CGoal(Goals::DIG_AT_TILE)
  25. {
  26. }
  27. DigAtTile(int3 Tile)
  28. : CGoal(Goals::DIG_AT_TILE)
  29. {
  30. tile = Tile;
  31. }
  32. bool operator==(const DigAtTile & other) const override;
  33. private:
  34. //TSubgoal decomposeSingle() const override;
  35. };
  36. }
  37. }