2023-03-27 09:09:58 +02:00
|
|
|
/*
|
|
|
|
* ObjectDistributor.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
|
|
|
|
|
2023-05-20 11:45:08 +02:00
|
|
|
#include "../Zone.h"
|
|
|
|
#include "../RmgObject.h"
|
2023-03-27 09:09:58 +02:00
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
|
|
|
class CGObjectInstance;
|
|
|
|
class ObjectTemplate;
|
|
|
|
|
|
|
|
class ObjectDistributor : public Modificator
|
|
|
|
{
|
|
|
|
void distributeLimitedObjects();
|
2023-04-29 11:46:03 +02:00
|
|
|
void distributeSeerHuts();
|
2023-05-05 10:30:36 +02:00
|
|
|
void distributePrisons();
|
2023-03-27 09:09:58 +02:00
|
|
|
|
|
|
|
public:
|
|
|
|
MODIFICATOR(ObjectDistributor);
|
|
|
|
|
|
|
|
void process() override;
|
|
|
|
void init() override;
|
|
|
|
};
|
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_END
|