1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00
Files
vcmi/lib/entities/artifact/CArtifactFittingSet.h
2025-05-14 18:33:20 +03:00

36 lines
809 B
C++

/*
* CArtifactFittingSet.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 "CArtifactSet.h"
#include "../../callback/GameCallbackHolder.h"
VCMI_LIB_NAMESPACE_BEGIN
// Used to try on artifacts before the claimed changes have been applied
class DLL_LINKAGE CArtifactFittingSet : public CArtifactSet, public GameCallbackHolder
{
IGameInfoCallback * getCallback() const final
{
return cb;
}
public:
CArtifactFittingSet(IGameInfoCallback * cb, ArtBearer Bearer);
explicit CArtifactFittingSet(const CArtifactSet & artSet);
ArtBearer bearerType() const override;
protected:
ArtBearer bearer;
};
VCMI_LIB_NAMESPACE_END