CSavingScreen.h 646 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * CSavingScreen.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. class CSelectionBase;
  13. struct StartInfo;
  14. class CMapInfo;
  15. class CSavingScreen : public CSelectionBase
  16. {
  17. public:
  18. const StartInfo * localSi;
  19. std::shared_ptr<CMapInfo> localMi;
  20. CSavingScreen();
  21. ~CSavingScreen();
  22. void changeSelection(std::shared_ptr<CMapInfo> to);
  23. void saveGame();
  24. const CMapInfo * getMapInfo() override;
  25. const StartInfo * getStartInfo() override;
  26. };