CreditsScreen.h 546 B

12345678910111213141516171819202122232425
  1. /*
  2. * CreditsScreen.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 "../windows/CWindowObject.h"
  12. class CMultiLineLabel;
  13. class CreditsScreen : public CIntObject
  14. {
  15. int timePassed;
  16. std::shared_ptr<CMultiLineLabel> credits;
  17. public:
  18. CreditsScreen(Rect rect);
  19. void tick(uint32_t msPassed) override;
  20. void clickPressed(const Point & cursorPosition) override;
  21. };