CScenarioInfoScreen.h 734 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * CScenarioInfoScreen.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 "CSelectionBase.h"
  12. /// Scenario information screen shown during the game
  13. class CScenarioInfoScreen : public WindowBase, public ISelectionScreenInfo
  14. {
  15. std::unique_ptr<StartInfo> localSi;
  16. std::unique_ptr<CMapInfo> localMi;
  17. public:
  18. std::shared_ptr<CButton> buttonBack;
  19. std::shared_ptr<InfoCard> card;
  20. std::shared_ptr<OptionsTab> opt;
  21. CScenarioInfoScreen();
  22. ~CScenarioInfoScreen();
  23. const CMapInfo * getMapInfo() override;
  24. const StartInfo * getStartInfo() override;
  25. };