CMovementEndAnimation.h 647 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "CBattleStackAnimation.h"
  3. class CBattleInterface;
  4. class CStack;
  5. /*
  6. * CMovementEndAnimation.h, part of VCMI engine
  7. *
  8. * Authors: listed in file AUTHORS in main folder
  9. *
  10. * License: GNU General Public License v2.0 or later
  11. * Full text of license available in license.txt file, in main folder
  12. *
  13. */
  14. /// Move end animation of a creature
  15. class CMovementEndAnimation : public CBattleStackAnimation
  16. {
  17. private:
  18. SBattleHex destinationTile;
  19. public:
  20. bool init();
  21. void nextFrame();
  22. void endAnim();
  23. CMovementEndAnimation(CBattleInterface *_owner, const CStack *_stack, SBattleHex destTile);
  24. };