mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-11 13:15:38 +02:00
31 lines
864 B
C++
31 lines
864 B
C++
/*
|
|
* CAltarWindow.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 "../widgets/CWindowWithArtifacts.h"
|
|
#include "../widgets/markets/CAltarArtifacts.h"
|
|
#include "../widgets/markets/CAltarCreatures.h"
|
|
|
|
class CExperienceAltar;
|
|
|
|
class CAltarWindow : public CWindowWithArtifacts, public IGarrisonHolder
|
|
{
|
|
public:
|
|
void updateExpToLevel();
|
|
void updateGarrisons() override;
|
|
bool holdsGarrison(const CArmedInstance * army) override;
|
|
virtual const CGHeroInstance * getHero() const = 0;
|
|
|
|
void artifactMoved(const ArtifactLocation & srcLoc, const ArtifactLocation & destLoc, bool withRedraw) override;
|
|
//void showAll(Canvas & to) override;
|
|
|
|
std::shared_ptr<CExperienceAltar> altar;
|
|
};
|