1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

All CGPickable objects are now fully configurable

This commit is contained in:
Ivan Savenko
2023-01-21 16:45:04 +02:00
parent a19c9eccc4
commit 83bb70cd8a
10 changed files with 161 additions and 176 deletions

View File

@@ -287,19 +287,6 @@ public:
friend class CRandomRewardObjectInfo;
};
class DLL_LINKAGE CGPickable : public CRewardableObject //campfire, treasure chest, Flotsam, Shipwreck Survivor, Sea Chest
{
public:
void initObj(CRandomGenerator & rand) override;
CGPickable();
template <typename Handler> void serialize(Handler &h, const int version)
{
h & static_cast<CRewardableObject&>(*this);
}
};
class DLL_LINKAGE CGBonusingObject : public CRewardableObject //objects giving bonuses to luck/morale/movement
{
protected: