1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00
Files
vcmi/lib/entities/artifact/CArtifactFittingSet.h

36 lines
801 B
C++
Raw Normal View History

/*
* 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
{
IGameCallback * getCallback() const final
{
return cb;
}
public:
2025-05-05 16:05:59 +03:00
CArtifactFittingSet(IGameCallback * cb, ArtBearer Bearer);
explicit CArtifactFittingSet(const CArtifactSet & artSet);
2025-05-05 16:05:59 +03:00
ArtBearer bearerType() const override;
protected:
2025-05-05 16:05:59 +03:00
ArtBearer bearer;
};
VCMI_LIB_NAMESPACE_END