pocketmine\level\particle\TerrainParticle::__construct PHP Метод

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

public __construct ( Vector3 $pos, Block $b )
$pos pocketmine\math\Vector3
$b pocketmine\block\Block
    public function __construct(Vector3 $pos, Block $b)
    {
        parent::__construct($pos, Particle::TYPE_TERRAIN, $b->getDamage() << 8 | $b->getId());
    }
TerrainParticle