ObjectDistributor.h 615 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * ObjectDistributor.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "../Zone.h"
  12. #include "../RmgObject.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. class CGObjectInstance;
  15. class ObjectTemplate;
  16. class ObjectDistributor : public Modificator
  17. {
  18. void distributeLimitedObjects();
  19. void distributeSeerHuts();
  20. void distributePrisons();
  21. public:
  22. MODIFICATOR(ObjectDistributor);
  23. void process() override;
  24. void init() override;
  25. };
  26. VCMI_LIB_NAMESPACE_END