pocketmine\level\generator\LightPopulationTask::__construct PHP Метод

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

public __construct ( Level $level, pocketmine\level\format\FullChunk $chunk )
$level pocketmine\level\Level
$chunk pocketmine\level\format\FullChunk
    public function __construct(Level $level, FullChunk $chunk)
    {
        $this->levelId = $level->getId();
        $this->chunk = $chunk->toFastBinary();
        $this->chunkClass = get_class($chunk);
    }