1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/client/lobby/CSavingScreen.h
2023-10-08 16:03:57 +02:00

39 lines
687 B
C++

/*
* CSavingScreen.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
#include "CSelectionBase.h"
VCMI_LIB_NAMESPACE_BEGIN
struct StartInfo;
class CMapInfo;
VCMI_LIB_NAMESPACE_END
class CSelectionBase;
class CSavingScreen : public CSelectionBase
{
public:
std::shared_ptr<CMapInfo> localMi;
CSavingScreen();
void changeSelection(std::shared_ptr<CMapInfo> to);
void saveGame();
const CMapInfo * getMapInfo() override;
const StartInfo * getStartInfo() override;
protected:
void close() override;
};