BiomGenerator.cpp 362 B

1234567891011121314151617181920
  1. #include "BiomGenerator.h"
  2. BiomGenerator::BiomGenerator()
  3. : ReferenceCounter()
  4. {}
  5. void BiomGenerator::addTemplateGenerator(GenerationTemplate* gTemplate)
  6. {
  7. templates.add(gTemplate);
  8. }
  9. const Framework::RCArray<GenerationTemplate>& BiomGenerator::getTemplates()
  10. {
  11. return templates;
  12. }
  13. void BiomGenerator::setSeed(int seed)
  14. {
  15. this->seed = seed;
  16. }