pocketmine\level\generator\normal\biome\SwampBiome::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    public function __construct()
    {
        parent::__construct();
        $flower = new Flower();
        $flower->setBaseAmount(8);
        $flower->addType([Block::RED_FLOWER, FlowerBlock::TYPE_BLUE_ORCHID]);
        $this->addPopulator($flower);
        $lilypad = new LilyPad();
        $lilypad->setBaseAmount(4);
        $this->addPopulator($lilypad);
        $this->setElevation(62, 63);
        $this->temperature = 0.8;
        $this->rainfall = 0.9;
    }