pocketmine\level\sound\NoteblockSound::__construct PHP Метод

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

public __construct ( Vector3 $pos, $instrument = self::INSTRUMENT_PIANO, $pitch )
$pos pocketmine\math\Vector3
    public function __construct(Vector3 $pos, $instrument = self::INSTRUMENT_PIANO, $pitch = 0)
    {
        parent::__construct($pos, $instrument, $pitch);
        $this->instrument = $instrument;
        $this->pitch = $pitch;
    }
NoteblockSound